]> granicus.if.org Git - python/commit
bpo-34066: Disabled interruption before SETUP_WITH and BEFORE_ASYNC_WITH. (GH-8159)
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 9 Jul 2018 12:40:14 +0000 (15:40 +0300)
committerNick Coghlan <ncoghlan@gmail.com>
Mon, 9 Jul 2018 12:40:14 +0000 (22:40 +1000)
commit3f4d90d4d72921f16babd3f52d7df804916af224
treec498d3f545a52424c129e7c6b0c0541df973755b
parentcf7303ed2aa19fb48687d7140dbc86fc23c9fca4
bpo-34066: Disabled interruption before SETUP_WITH and BEFORE_ASYNC_WITH. (GH-8159)

This will prevent emitting a resource warning when the execution was
interrupted by Ctrl-C between calling open() and entering a 'with' block
in "with open()".
Misc/NEWS.d/next/Core and Builtins/2018-07-07-20-15-34.bpo-34066.y9vs6s.rst [new file with mode: 0644]
Python/ceval.c