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 sweskman@gmail.com
Co-authored-by: Guido van Rossum gvanrossum@gmail.com
Co-authored-by: Alex Waygood Alex.Waygood@Gmail.com

…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 <sweskman@gmail.com>
Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
@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