summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2011-05-05 13:49:25 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2011-05-05 13:49:25 (GMT)
commit0ded3e307b188246018c893d90f26dfba6fe282c (patch)
treee38e7fb0d4d1a7de987713b7ea540dfdf00ea230 /Misc
parentf77b74dd1beacb69b6853303aa70a0de64cd71ae (diff)
downloadcpython-0ded3e307b188246018c893d90f26dfba6fe282c.zip
cpython-0ded3e307b188246018c893d90f26dfba6fe282c.tar.gz
cpython-0ded3e307b188246018c893d90f26dfba6fe282c.tar.bz2
Issue #11647: allow contextmanager objects to be used as decorators as described in the docs. Initial patch by Ysj Ray.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/ACKS1
-rw-r--r--Misc/NEWS4
2 files changed, 5 insertions, 0 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index c3f4e94..0443e93 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -704,6 +704,7 @@ Burton Radons
Brodie Rao
Antti Rasinen
Sridhar Ratnakumar
+Ysj Ray
Eric Raymond
Edward K. Ream
Chris Rebert
diff --git a/Misc/NEWS b/Misc/NEWS
index ca22acf..5fb153d 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -83,6 +83,10 @@ Core and Builtins
Library
-------
+- Issue #11647: objects created using contextlib.contextmanager now support
+ more than one call to the function when used as a decorator. Initial patch
+ by Ysj Ray.
+
- logging: don't define QueueListener if Python has no thread support.
- functools.cmp_to_key() now works with collections.Hashable().