diff options
author | Michael Foord <fuzzyman@voidspace.org.uk> | 2010-06-30 12:17:50 (GMT) |
---|---|---|
committer | Michael Foord <fuzzyman@voidspace.org.uk> | 2010-06-30 12:17:50 (GMT) |
commit | b3a89844888d1b8eacdacc14cc6db1e2125d2d6a (patch) | |
tree | e2704acb44e0b3dbd9f7d4b6ed33a478f03e739f /Misc | |
parent | cba8c10b5c262f41873ac877d25c242823ab668c (diff) | |
download | cpython-b3a89844888d1b8eacdacc14cc6db1e2125d2d6a.zip cpython-b3a89844888d1b8eacdacc14cc6db1e2125d2d6a.tar.gz cpython-b3a89844888d1b8eacdacc14cc6db1e2125d2d6a.tar.bz2 |
Issue 9110. Adding ContextDecorator to contextlib. This enables the creation of APIs that act as decorators as well as context managers. contextlib.contextmanager changed to use ContextDecorator.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -460,6 +460,10 @@ C-API Library ------- +- Issue #9110: Addition of ContextDecorator to contextlib, for creating APIs + that act as both context managers and decorators. contextmanager changes + to use ContextDecorator. + - Implement importlib.abc.SourceLoader and deprecate PyLoader and PyPycLoader for removal in Python 3.4. |