Skip to content

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

Merged
serhiy-storchaka merged 1 commit into
python:3.6from
serhiy-storchaka:backport-3f4d90d-3.6
Jul 9, 2018
Merged

[3.6] bpo-34066: Disabled interruption before SETUP_WITH and BEFORE_ASYNC_WITH. (GH-8159)#8198
serhiy-storchaka merged 1 commit into
python:3.6from
serhiy-storchaka:backport-3f4d90d-3.6

Conversation

@serhiy-storchaka

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

Copy link
Copy Markdown
Member

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