diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2018-01-28 05:14:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-28 05:14:30 (GMT) |
commit | a278ad2faa76ae61569a58f36e06ba8745f4a9b7 (patch) | |
tree | bec5b6e463a88bfcad9edecc845d68961a97a999 /Misc | |
parent | fcf8b4c1022bc2d2f84dcef5d72eabf40a25ea19 (diff) | |
download | cpython-a278ad2faa76ae61569a58f36e06ba8745f4a9b7.zip cpython-a278ad2faa76ae61569a58f36e06ba8745f4a9b7.tar.gz cpython-a278ad2faa76ae61569a58f36e06ba8745f4a9b7.tar.bz2 |
bpo-30306: Add missing NEWS entry (GH-5374)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2018-01-28-14-10-51.bpo-30306.TmKMXi.rst | 4 |
1 files changed, 4 insertions, 0 deletions
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 0000000..65df2cd --- /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. |