Content-Length: 306776 | pFad | https://github.com/python/cpython/pull/102923

76 [3.11] gh-102780: Fix uncancel() call in asyncio timeouts (GH-102815) by miss-islington · Pull Request #102923 · python/cpython · GitHub
Skip to content

[3.11] gh-102780: Fix uncancel() call in asyncio timeouts (GH-102815)#102923

Merged
miss-islington merged 1 commit into
python:3.11from
miss-islington:backport-04adf2d-3.11
Mar 22, 2023
Merged

[3.11] gh-102780: Fix uncancel() call in asyncio timeouts (GH-102815)#102923
miss-islington merged 1 commit into
python:3.11from
miss-islington:backport-04adf2d-3.11

Conversation

@miss-islington

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

Copy link
Copy Markdown
Contributor

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









ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/python/cpython/pull/102923

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy