Chris McDonough
2011-08-29 0ff9d4fb7c23a505d11666dfd4410fb5d7a8d473
refs
author Chris McDonough <chrism@plope.com>
Monday, August 29, 2011 16:22 +0200
committer Chris McDonough <chrism@plope.com>
Monday, August 29, 2011 16:22 +0200
commit0ff9d4fb7c23a505d11666dfd4410fb5d7a8d473
tree 8ab3ddf592f21ba20ae8103842ccfe4944955d36 tree | zip | gz
parent b5c0cb969c5b717e2cc95aa8738aa904f8dc2ccd view | diff
- The ``settings`` object emitted a deprecation warning any time
``__getattr__`` was called upon it. However, there are legitimate
situations in which ``__getattr__`` is called on arbitrary objects
(e.g. ``hasattr``). Now, the ``settings`` object only emits the warning
upon successful lookup.
3 files modified
52 ■■■■ changed files
CHANGES.txt 8 ●●●● diff | view | raw | blame | history
pyramid/config/settings.py 21 ●●●●● diff | view | raw | blame | history
pyramid/tests/test_config/test_settings.py 23 ●●●● diff | view | raw | blame | history