Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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

Merged
serhiy-storchaka merged 1 commit intopython:3.6python/cpython:3.6from
serhiy-storchaka:backport-3f4d90d-3.6serhiy-storchaka/cpython:backport-3f4d90d-3.6Copy head branch name to clipboard
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 intopython:3.6python/cpython:3.6from
serhiy-storchaka:backport-3f4d90d-3.6serhiy-storchaka/cpython:backport-3f4d90d-3.6Copy head branch name to clipboard

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.