Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Mar 22, 2023

Also use raise TimeOut from <CancelledError instance> so that the CancelledError is set
in the __cause__ field rather than in the __context__ field.

(cherry picked from commit 04adf2d)

Co-authored-by: Kristján Valur Jónsson [email protected]
Co-authored-by: Guido van Rossum [email protected]
Co-authored-by: Alex Waygood [email protected]

…2815)

Also use `raise TimeOut from <CancelledError instance>` so that the CancelledError is set
in the `__cause__` field rather than in the `__context__` field.

(cherry picked from commit 04adf2d)

Co-authored-by: Kristján Valur Jónsson <[email protected]>
Co-authored-by: Guido van Rossum <[email protected]>
Co-authored-by: Alex Waygood <[email protected]>
@miss-islington miss-islington merged commit a9ece4a into python:3.11 Mar 22, 2023
@miss-islington miss-islington deleted the backport-04adf2d-3.11 branch March 22, 2023 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants