[Python-checkins] bpo-30306: Add missing NEWS entry (GH-5374)

Nick Coghlan webhook-mailer at python.org
Sun Jan 28 00:14:32 EST 2018


https://github.com/python/cpython/commit/a278ad2faa76ae61569a58f36e06ba8745f4a9b7
commit: a278ad2faa76ae61569a58f36e06ba8745f4a9b7
branch: master
author: Nick Coghlan <ncoghlan at gmail.com>
committer: GitHub <noreply at github.com>
date: 2018-01-28T15:14:30+10:00
summary:

bpo-30306: Add missing NEWS entry (GH-5374)

files:
A Misc/NEWS.d/next/Library/2018-01-28-14-10-51.bpo-30306.TmKMXi.rst

diff --git a/Misc/NEWS.d/next/Library/2018-01-28-14-10-51.bpo-30306.TmKMXi.rst b/Misc/NEWS.d/next/Library/2018-01-28-14-10-51.bpo-30306.TmKMXi.rst
new file mode 100644
index 000000000000..65df2cdac022
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2018-01-28-14-10-51.bpo-30306.TmKMXi.rst
@@ -0,0 +1,4 @@
+contextlib.contextmanager now releases the arguments passed to the
+underlying generator as soon as the context manager is entered. Previously
+it would keep them alive for as long as the context manager was alive, even
+when not being used as a function decorator. Patch by Martin Teichmann.



More information about the Python-checkins mailing list