cpython/Lib/test/test_asyncio
Kumar Aditya 4717aaa1a7
GH-107803: double linked list implementation for asyncio tasks (GH-107804)
* linked list

* add tail optmiization to linked list

* wip

* wip

* wip

* more fixes

* finally it works

* add tests

* remove weakreflist

* add some comments

* reduce code duplication in _asynciomodule.c

* address some review comments

* add invariants about the state of the linked list

* add better explanation

* clinic regen

* reorder branches for better branch prediction

* Update Modules/_asynciomodule.c

* Apply suggestions from code review

Co-authored-by: Itamar Oren <itamarost@gmail.com>

* fix capturing of eager tasks

* add comment to task finalization

* fix tests and couple c implmentation to c task

improved linked-list logic and more comments

* fix test

---------

Co-authored-by: Itamar Oren <itamarost@gmail.com>
2024-06-22 10:58:35 -07:00
..
__init__.py
__main__.py
echo.py
echo2.py
echo3.py
functional.py
test_base_events.py gh-71042: Add platform.android_ver (#116674) 2024-03-27 17:53:27 +01:00
test_buffered_proto.py
test_context.py
test_eager_task_factory.py
test_events.py GH-120804: Remove SafeChildWatcher, FastChildWatcher and MultiLoopChildWatcher from asyncio (#120805) 2024-06-21 10:23:10 +05:30
test_futures.py gh-117459: Keep the traceback in _convert_future_exc (#117460) 2024-04-03 20:13:32 -07:00
test_futures2.py
test_locks.py gh-114091: Reword error message for unawaitable types (#114090) 2024-06-17 20:18:17 +05:30
test_pep492.py gh-114091: Reword error message for unawaitable types (#114090) 2024-06-17 20:18:17 +05:30
test_proactor_events.py gh-113892: Add a extra check to ProactorEventLoop.sock_connect to ensure that the given socket is in non-blocking mode (#119519) 2024-06-01 09:05:19 -07:00
test_protocols.py
test_queues.py gh-96471: Add asyncio queue shutdown (#104228) 2024-04-06 07:27:13 -07:00
test_runners.py
test_selector_events.py
test_sendfile.py gh-120226: Fix test_sendfile_close_peer_in_the_middle_of_receiving on Linux >= 6.10 (#120227) 2024-06-07 08:51:32 -07:00
test_server.py gh-113538: Add asycio.Server.{close,abort}_clients (redo) (#116784) 2024-03-18 13:15:53 -07:00
test_sock_lowlevel.py gh-91227: Ignore ERROR_PORT_UNREACHABLE in proactor recvfrom() (#32011) 2024-03-23 08:39:35 -07:00
test_ssl.py
test_sslproto.py
test_staggered.py gh-119121: Fix and test async.staggered.staggered_race (#119173) 2024-05-20 14:06:50 +03:00
test_streams.py GH-120804: Remove SafeChildWatcher, FastChildWatcher and MultiLoopChildWatcher from asyncio (#120805) 2024-06-21 10:23:10 +05:30
test_subprocess.py GH-120804: Remove SafeChildWatcher, FastChildWatcher and MultiLoopChildWatcher from asyncio (#120805) 2024-06-21 10:23:10 +05:30
test_taskgroups.py gh-116720: Fix corner cases of taskgroups (#117407) 2024-04-09 08:17:28 -07:00
test_tasks.py GH-107803: double linked list implementation for asyncio tasks (GH-107804) 2024-06-22 10:58:35 -07:00
test_threads.py
test_timeouts.py
test_transports.py
test_unix_events.py GH-120804: Remove SafeChildWatcher, FastChildWatcher and MultiLoopChildWatcher from asyncio (#120805) 2024-06-21 10:23:10 +05:30
test_waitfor.py chore: fix typos (#116345) 2024-03-05 09:05:52 -07:00
test_windows_events.py gh-116773: Ensure overlapped objects on Windows are not deallocated too early by asyncio (GH-116774) 2024-03-20 14:33:28 +00:00
test_windows_utils.py
utils.py