[3.7] bpo-34066: Disabled interruption before SETUP_WITH and BEFORE_ASYNC_WITH. (GH-8159)#8197
Merged
miss-islington merged 1 commit intopython:3.7python/cpython:3.7from Jul 9, 2018
miss-islington:backport-3f4d90d-3.7miss-islington/cpython:backport-3f4d90d-3.7Copy head branch name to clipboard
Merged
[3.7] bpo-34066: Disabled interruption before SETUP_WITH and BEFORE_ASYNC_WITH. (GH-8159)#8197miss-islington merged 1 commit intopython:3.7python/cpython:3.7from miss-islington:backport-3f4d90d-3.7miss-islington/cpython:backport-3f4d90d-3.7Copy head branch name to clipboard
miss-islington merged 1 commit intopython:3.7python/cpython:3.7from
miss-islington:backport-3f4d90d-3.7miss-islington/cpython:backport-3f4d90d-3.7Copy head branch name to clipboard
Conversation
…ITH. (pythonGH-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 3f4d90d) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Contributor
Author
|
@serhiy-storchaka and @ncoghlan: Backport status check is done, and it's a success ✅ . |
1 similar comment
Contributor
Author
|
@serhiy-storchaka and @ncoghlan: Backport status check is done, and it's a success ✅ . |
ncoghlan
approved these changes
Jul 9, 2018
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 3f4d90d)
Co-authored-by: Serhiy Storchaka storchaka@gmail.com
https://bugs.python.org/issue34066