Skip to content

[3.15] gh-137549: Handle BaseExceptionGroup in asyncio.Timeout.__aexit__ (GH-160957) - #160960

Merged
asvetlov merged 1 commit into
python:3.15from
miss-islington:backport-a683f70-3.15
Oct 30, 2026
Merged

asvetlov merged 1 commit into
python:3.15from
miss-islington:backport-a683f70-3.15

Conversation

@miss-islington

@miss-islington miss-islington commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

asyncio.timeout() inserted TimeoutError into the context chain of
sub-exceptions only for ExceptionGroup; do the same for
BaseExceptionGroup.
(cherry picked from commit a683f70)

Co-authored-by: Andrew Svetlov [email protected]
Co-authored-by: Claude Opus 5.5 [email protected]

…__ (pythonGH-160957)

asyncio.timeout() inserted TimeoutError into the context chain of
sub-exceptions only for ExceptionGroup; do the same for
BaseExceptionGroup.
(cherry picked from commit a683f704dca79f062705432f18347c929923d081)

Co-authored-by: Andrew Svetlov <[email protected]>
Co-authored-by: Claude Opus 5.5 <[email protected]>
@asvetlov
asvetlov merged commit 8ea98fc into python:3.15 Oct 30, 2026
58 checks passed
@miss-islington
miss-islington deleted the backport-a683f70-3.15 branch October 30, 2026 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants