From 0ff9d4fb7c23a505d11666dfd4410fb5d7a8d473 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 29 Aug 2011 10:22:15 -0400 Subject: - 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. --- CHANGES.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 48ef24417..ce42e2136 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -6,7 +6,13 @@ Bug Fixes - Pyramid did not properly generate static URLs using ``pyramid.url.static_url`` when passed a caller-package relative path due - to a refactoring. + to a refactoring done in 1.2a1. + +- 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. Internal -------- -- cgit v1.2.3