summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-07-09 13:31:03 (GMT)
committerGitHub <noreply@github.com>2018-07-09 13:31:03 (GMT)
commitf5197ddfd0f2c5da848af57196448810bd18bb82 (patch)
tree1f77f2bf61fa8bbd2ffa8f94bb635e32a7f99f56 /Python/pythonrun.c
parent7c43b801503c802ed6ea4b811f5bc73791249d94 (diff)
downloadcpython-f5197ddfd0f2c5da848af57196448810bd18bb82.zip
cpython-f5197ddfd0f2c5da848af57196448810bd18bb82.tar.gz
cpython-f5197ddfd0f2c5da848af57196448810bd18bb82.tar.bz2
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()". (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