Skip to content

[3.6] bpo-34066: Disabled interruption before SETUP_WITH and BEFORE_ASYNC_WITH. (GH-8159) #8198

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 9, 2018

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Jul 9, 2018

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)

https://bugs.python.org/issue34066

…SYNC_WITH. (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>
@serhiy-storchaka serhiy-storchaka added the type-bug An unexpected behavior, bug, or error label Jul 9, 2018
@bedevere-bot bedevere-bot added the type-bug An unexpected behavior, bug, or error label Jul 9, 2018
@serhiy-storchaka serhiy-storchaka merged commit eeaae26 into python:3.6 Jul 9, 2018
@serhiy-storchaka serhiy-storchaka deleted the backport-3f4d90d-3.6 branch July 9, 2018 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants