commit | f5197ddfd0f2c5da848af57196448810bd18bb82 | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Mon Jul 09 06:31:03 2018 -0700 |
committer | GitHub <noreply@github.com> | Mon Jul 09 06:31:03 2018 -0700 |
tree | 1f77f2bf61fa8bbd2ffa8f94bb635e32a7f99f56 | |
parent | 7c43b801503c802ed6ea4b811f5bc73791249d94 [diff] |
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>