summaryrefslogtreecommitdiff
path: root/CHANGES.txt
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2012-01-03 08:16:06 -0500
committerChris McDonough <chrism@plope.com>2012-01-03 08:16:06 -0500
commit52a948e65ef923340a9c172fe6d258f2832f8799 (patch)
tree91ad8ef9a993ff3667fa608068cc7b04d318370b /CHANGES.txt
parent22c2200bf69ca49a0bfbe0e0a0241e87b9143737 (diff)
downloadpyramid-52a948e65ef923340a9c172fe6d258f2832f8799.tar.gz
pyramid-52a948e65ef923340a9c172fe6d258f2832f8799.tar.bz2
pyramid-52a948e65ef923340a9c172fe6d258f2832f8799.zip
- The documentation of ``pyramid.events.subscriber`` indicated that using it
as a decorator with no arguments like this:: @subscriber() def somefunc(event): pass Would register ``somefunc`` to receive all events sent via the registry, but this was untrue. Instead, it would receive no events at all. This has now been fixed and the code matches the documentation. See also https://github.com/Pylons/pyramid/issues/386 Closes #386
Diffstat (limited to 'CHANGES.txt')
-rw-r--r--CHANGES.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index adc380c34..07c0b564d 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -12,6 +12,21 @@ Features
- Use the ``waitress`` WSGI server instead of ``wsgiref`` in scaffolding.
+Bug Fixes
+---------
+
+- The documentation of ``pyramid.events.subscriber`` indicated that using it
+ as a decorator with no arguments like this::
+
+ @subscriber()
+ def somefunc(event):
+ pass
+
+ Would register ``somefunc`` to receive all events sent via the registry,
+ but this was untrue. Instead, it would receive no events at all. This has
+ now been fixed and the code matches the documentation. See also
+ https://github.com/Pylons/pyramid/issues/386
+
1.3a3 (2011-12-21)
==================