From 37f3ed08e55704012b5c3b7b9e77b684c28d81b2 Mon Sep 17 00:00:00 2001 From: Michael Merickel Date: Fri, 17 Apr 2015 23:13:14 -0500 Subject: default response_callback and finished_callback to an empty deque instead of None fixes #1600 --- CHANGES.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'CHANGES.txt') diff --git a/CHANGES.txt b/CHANGES.txt index a9e159275..87e9f1f3a 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -191,6 +191,10 @@ Bug Fixes - Avoiding timing attacks against CSRF tokens. See https://github.com/Pylons/pyramid/pull/1574 +- ``request.finished_callbacks`` and ``request.response_callbacks`` now + default to an iterable instead of ``None``. It may be checked for a length + of 0. This was the behavior in 1.5. + Deprecations ------------ -- cgit v1.2.3