diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-07-09 16:02:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-09 16:02:25 (GMT) |
commit | eeaae26ce5abce56292330c29459337d6bd57aaf (patch) | |
tree | 9cf9140ce8369234c27a6bcd080c49f954e0cb7d /Python/pythonrun.c | |
parent | 13d1025e43068ba9f9da32b2e19f53bba9d91806 (diff) | |
download | cpython-eeaae26ce5abce56292330c29459337d6bd57aaf.zip cpython-eeaae26ce5abce56292330c29459337d6bd57aaf.tar.gz cpython-eeaae26ce5abce56292330c29459337d6bd57aaf.tar.bz2 |
[3.6] bpo-34066: Disabled interruption before SETUP_WITH and BEFORE_ASYNC_WITH. (GH-8159) (GH-8198)
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()".
(cherry picked from commit 3f4d90d4d72921f16babd3f52d7df804916af224)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions