From: Nick Coghlan Date: Sun, 28 Jan 2018 05:14:30 +0000 (+1000) Subject: bpo-30306: Add missing NEWS entry (GH-5374) X-Git-Tag: v3.7.0b1~65 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a278ad2faa76ae61569a58f36e06ba8745f4a9b7;p=python bpo-30306: Add missing NEWS entry (GH-5374) --- 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 0000000000..65df2cdac0 --- /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.