diff options
author | Kristján Valur Jónsson <sweskman@gmail.com> | 2023-03-22 17:52:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-22 17:52:10 (GMT) |
commit | 04adf2df395ded81922c71360a5d66b597471e49 (patch) | |
tree | e00fe057435866b27b7fa66465d2d6d9b47745c1 /Python | |
parent | 1ca315538f2f9da6c7b86c4c46e76d454c1ec4b9 (diff) | |
download | cpython-04adf2df395ded81922c71360a5d66b597471e49.zip cpython-04adf2df395ded81922c71360a5d66b597471e49.tar.gz cpython-04adf2df395ded81922c71360a5d66b597471e49.tar.bz2 |
gh-102780: Fix uncancel() call in asyncio timeouts (#102815)
Also use `raise TimeOut from <CancelledError instance>` so that the CancelledError is set
in the `__cause__` field rather than in the `__context__` field.
Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions