cpython/Lib/asyncio
Victor Stinner ced6924630
gh-108973: Fix asyncio test_subprocess_consistent_callbacks() (#109431)
SubprocessProtocol process_exited() method can be called before
pipe_data_received() and pipe_connection_lost() methods. Document it
and adapt the test for that.

Revert commit 282edd7b2a.
_child_watcher_callback() calls immediately _process_exited(): don't
add an additional delay with call_soon(). The reverted change didn't
make _process_exited() more determistic: it can still be called
before pipe_connection_lost() for example.

Co-authored-by: Davide Rizzo <sorcio@gmail.com>
2023-09-20 15:54:19 +02:00
..
__init__.py gh-106075: add asyncio.taskgroups.__all__ to asyncio.__all__ (#106090) 2023-06-26 07:54:03 +00:00
__main__.py
base_events.py gh-106634: Corrected minor asyncio doc issues (#106671) 2023-07-13 13:21:13 +05:30
base_futures.py
base_subprocess.py
base_tasks.py
constants.py
coroutines.py
events.py gh-106634: Corrected minor asyncio doc issues (#106671) 2023-07-13 13:21:13 +05:30
exceptions.py
format_helpers.py
futures.py
locks.py
log.py
mixins.py
proactor_events.py
protocols.py
queues.py
runners.py
selector_events.py gh-106527: asyncio: optimize to add/remove readers and writers (#106528) 2023-07-22 21:07:40 +00:00
sslproto.py gh-108903: Remove unneeded lambdas from asyncio (GH-108904) 2023-09-05 18:11:12 +03:00
staggered.py
streams.py GH-106684: raise ResourceWarning when asyncio.StreamWriter is not closed (#107650) 2023-08-05 17:48:15 +05:30
subprocess.py gh-104340: Suppress warning about unawaited exception for closed pipe stdin (#104586) 2023-05-17 16:45:11 -07:00
taskgroups.py gh-106075: add asyncio.taskgroups.__all__ to asyncio.__all__ (#106090) 2023-06-26 07:54:03 +00:00
tasks.py Fix patchcheck for asyncio.tasks (#108159) 2023-08-20 09:00:42 +00:00
threads.py
timeouts.py
transports.py
trsock.py
unix_events.py gh-108973: Fix asyncio test_subprocess_consistent_callbacks() (#109431) 2023-09-20 15:54:19 +02:00
windows_events.py
windows_utils.py