cpython/Lib/asyncio
Miss Islington (bot) a9ece4a839
gh-102780: Fix uncancel() call in asyncio timeouts (GH-102815)
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 04adf2df39)

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>
2023-03-22 11:23:47 -07:00
..
__init__.py bpo-46771: Implement asyncio context managers for handling timeouts (GH-31394) 2022-03-10 08:05:20 -08:00
__main__.py
base_events.py gh-101143: Remove references to TimerHandle from asyncio.base_events.BaseEventLoop._add_callback (GH-101197) 2023-01-21 02:28:09 -08:00
base_futures.py bpo-47039: Normalize repr() of asyncio future and task objects (GH-31950) 2022-03-17 03:03:09 +02:00
base_subprocess.py GH-100133: fix asyncio subprocess losing stderr and stdout output (GH-100154) 2022-12-21 02:24:19 -08:00
base_tasks.py bpo-47039: Normalize repr() of asyncio future and task objects (GH-31950) 2022-03-17 03:03:09 +02:00
constants.py
coroutines.py
events.py [3.11] gh-100160: Remove any deprecation warnings in asyncio.get_event_loop() (#100412) 2023-01-10 12:20:09 -08:00
exceptions.py bpo-43352: Add a Barrier object in asyncio lib (GH-24903) 2022-03-26 00:01:21 +02:00
format_helpers.py
futures.py GH-90985: Revert "Deprecate passing a message into cancel()" (GH-97999) 2022-10-06 18:50:25 -07:00
locks.py gh-97545: Make Semaphore run faster. (GH-97549) 2022-09-26 17:00:53 -07:00
log.py
mixins.py bpo-46796: Simplify handling of removed parameter "loop" in asyncio (GH-31431) 2022-02-21 13:25:52 +02:00
proactor_events.py gh-98703: Fix asyncio proactor_events calling _call_connection_lost multiple times (GH-98704) 2022-10-26 20:04:43 -07:00
protocols.py
queues.py bpo-46796: Simplify handling of removed parameter "loop" in asyncio (GH-31431) 2022-02-21 13:25:52 +02:00
runners.py GH-95899: fix asyncio.Runner to call set_event_loop only once (GH-95900) (#96003) 2022-08-15 15:01:23 -07:00
selector_events.py [3.11] gh-88863: Clear ref cycles to resolve leak when asyncio.open_connection raises (GH-95739) (#99721) 2022-11-23 10:37:24 -08:00
sslproto.py [3.11] gh-99277: remove older version of get_write_buffer_limits (GH-99280) (#99338) 2022-11-10 09:01:14 -08:00
staggered.py
streams.py [3.11] gh-100226: Clarify StreamReader.read behavior (GH-101807) (#102001) 2023-02-23 19:05:59 +05:30
subprocess.py
taskgroups.py gh-102560 Add docstrings to asyncio.TaskGroup (GH-102565) 2023-03-15 00:27:33 -07:00
tasks.py GH-90985: Revert "Deprecate passing a message into cancel()" (GH-97999) 2022-10-06 18:50:25 -07:00
threads.py
timeouts.py gh-102780: Fix uncancel() call in asyncio timeouts (GH-102815) 2023-03-22 11:23:47 -07:00
transports.py Remove trailing spaces (GH-31695) 2022-03-05 17:47:00 +02:00
trsock.py
unix_events.py bpo-46364: Use sockets for stdin of asyncio only on AIX (GH-30596) 2022-10-13 10:27:31 -07:00
windows_events.py [3.11] GH-100573: Fix server hang caused by os.stat() on named pipe (Windows) (GH-100959) (#101019) 2023-01-13 13:58:20 -08:00
windows_utils.py