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

This commit is contained in:
Nick Coghlan 2018-01-28 15:14:30 +10:00 committed by GitHub
parent fcf8b4c102
commit a278ad2faa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -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.