cpython/Lib/test/test_asyncio
Kumar Aditya 513a4efa75
gh-128002: fix many thread safety issues in asyncio (#128147)
* Makes `_asyncio.Task` and `_asyncio.Future` thread-safe by adding critical sections
* Add assertions to check for thread safety checking locking of object by critical sections in internal functions
* Make `_asyncio.all_tasks` thread safe when eager tasks are used
* Add a thread safety test
2025-01-04 14:18:22 +05:30
..
__init__.py
__main__.py
echo.py
echo2.py
echo3.py
functional.py gh-127949: deprecate asyncio.set_event_loop (#128218) 2024-12-24 19:24:28 +05:30
test_base_events.py gh-127949: deprecate asyncio.set_event_loop (#128218) 2024-12-24 19:24:28 +05:30
test_buffered_proto.py gh-127949: deprecate asyncio.set_event_loop_policy (#128024) 2024-12-18 11:35:29 +05:30
test_context.py gh-127949: deprecate asyncio.set_event_loop_policy (#128024) 2024-12-18 11:35:29 +05:30
test_eager_task_factory.py gh-127949: deprecate asyncio.set_event_loop_policy (#128024) 2024-12-18 11:35:29 +05:30
test_events.py gh-127949: deprecate asyncio.set_event_loop (#128218) 2024-12-24 19:24:28 +05:30
test_free_threading.py gh-128002: fix many thread safety issues in asyncio (#128147) 2025-01-04 14:18:22 +05:30
test_futures.py gh-127949: deprecate asyncio.set_event_loop (#128218) 2024-12-24 19:24:28 +05:30
test_futures2.py gh-127949: deprecate asyncio.set_event_loop_policy (#128024) 2024-12-18 11:35:29 +05:30
test_locks.py gh-127949: deprecate asyncio.set_event_loop_policy (#128024) 2024-12-18 11:35:29 +05:30
test_pep492.py gh-127949: deprecate asyncio.set_event_loop_policy (#128024) 2024-12-18 11:35:29 +05:30
test_proactor_events.py gh-127949: deprecate asyncio.set_event_loop_policy (#128024) 2024-12-18 11:35:29 +05:30
test_protocols.py gh-127949: deprecate asyncio.set_event_loop_policy (#128024) 2024-12-18 11:35:29 +05:30
test_queues.py gh-127949: deprecate asyncio.set_event_loop_policy (#128024) 2024-12-18 11:35:29 +05:30
test_runners.py gh-127949: deprecate asyncio policy classes (#128216) 2024-12-24 17:30:26 +05:30
test_selector_events.py gh-127529: Correct asyncio's accept_connection behaviour for handling ConnectionAbortedError (#127532) 2025-01-03 10:32:36 +00:00
test_sendfile.py gh-127949: deprecate asyncio.set_event_loop_policy (#128024) 2024-12-18 11:35:29 +05:30
test_server.py gh-127949: deprecate asyncio.set_event_loop_policy (#128024) 2024-12-18 11:35:29 +05:30
test_sock_lowlevel.py gh-127949: deprecate asyncio.set_event_loop_policy (#128024) 2024-12-18 11:35:29 +05:30
test_ssl.py gh-127949: deprecate asyncio.set_event_loop_policy (#128024) 2024-12-18 11:35:29 +05:30
test_sslproto.py gh-127949: deprecate asyncio.set_event_loop_policy (#128024) 2024-12-18 11:35:29 +05:30
test_staggered.py gh-127949: deprecate asyncio.set_event_loop_policy (#128024) 2024-12-18 11:35:29 +05:30
test_streams.py gh-127949: deprecate asyncio.set_event_loop (#128218) 2024-12-24 19:24:28 +05:30
test_subprocess.py gh-127949: deprecate asyncio.get_event_loop_policy (#128053) 2024-12-18 18:04:20 +05:30
test_taskgroups.py gh-127949: deprecate asyncio.set_event_loop_policy (#128024) 2024-12-18 11:35:29 +05:30
test_tasks.py gh-127949: deprecate asyncio.set_event_loop (#128218) 2024-12-24 19:24:28 +05:30
test_threads.py gh-127949: deprecate asyncio.set_event_loop_policy (#128024) 2024-12-18 11:35:29 +05:30
test_timeouts.py gh-127949: deprecate asyncio.set_event_loop_policy (#128024) 2024-12-18 11:35:29 +05:30
test_transports.py gh-127949: deprecate asyncio.set_event_loop_policy (#128024) 2024-12-18 11:35:29 +05:30
test_unix_events.py gh-127949: deprecate asyncio.set_event_loop (#128218) 2024-12-24 19:24:28 +05:30
test_waitfor.py gh-127949: deprecate asyncio.set_event_loop_policy (#128024) 2024-12-18 11:35:29 +05:30
test_windows_events.py gh-127949: deprecate asyncio policy classes (#128216) 2024-12-24 17:30:26 +05:30
test_windows_utils.py gh-127949: deprecate asyncio.set_event_loop_policy (#128024) 2024-12-18 11:35:29 +05:30
utils.py gh-127949: deprecate asyncio.set_event_loop (#128218) 2024-12-24 19:24:28 +05:30