From 5c52daef7004a1e43a7c2fc25613e3d92c4b6b8e Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sun, 14 Aug 2011 00:53:53 -0400 Subject: - Added the ``pyramid.interfaces.IDict`` interface representing the methods of a dictionary, for documentation purposes only (IMultiDict and IBeforeRender inherit from it). - Previously the ``pyramid.events.BeforeRender`` event *wrapped* a dictionary (it addressed it as its ``_system`` attribute). Now it *is* a dictionary (it inherits from ``dict``), and it's the value that is passed to templates as a top-level dictionary. --- CHANGES.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index 8a14a82de..19d586ac9 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -66,6 +66,11 @@ Internal will be set, and subsequent calls to ``__call__`` will always return the same body. Delete the body attribute to rerender the exception body. +- Previously the ``pyramid.events.BeforeRender`` event *wrapped* a dictionary + (it addressed it as its ``_system`` attribute). Now it *is* a dictionary + (it inherits from ``dict``), and it's the value that is passed to templates + as a top-level dictionary. + Deprecations ------------ @@ -109,6 +114,10 @@ Documentation - Added a Logging chapter to the narrative docs (based on the Pylons logging docs, thanks Phil). +- Added the ``pyramid.interfaces.IDict`` interface representing the methods + of a dictionary, for documentation purposes only (IMultiDict and + IBeforeRender inherit from it). + Dependency Changes ------------------ -- cgit v1.2.3