Skip to content

[3.15] Backport GH-148874: Make sure that mngr.__exit__() is always called in a with statement (GH-150911) - #154830

Merged
markshannon merged 2 commits into
python:3.15from
markshannon:backport-150911
Aug 3, 2026
Merged

markshannon merged 2 commits into
python:3.15from
markshannon:backport-150911

Conversation

@markshannon

@markshannon markshannon commented Jul 28, 2026 •

Copy link
Copy Markdown
Member
  • Even if there is an interrupt during the call to mngr.__enter__()
… with statement (pythonGH-150911)

* Even if there is an interrupt during the call to mngr.__enter__()

@diegorusso diegorusso left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've already reviewed this internally, good to go.

@markshannon
markshannon merged commit e972f76 into python:3.15 Aug 3, 2026
98 of 100 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants