Kumar Aditya
d73d69e232
gh-129874: improve tests to use correct implementations in asyncio ( #130516 )
2025-02-24 21:33:52 +05:30
Kumar Aditya
09fe550ecc
gh-129874: improve asyncio tests to use correct internal functions ( #129887 )
2025-02-09 12:05:39 +00:00
Kumar Aditya
0d68b14a0d
gh-128002: use per threads tasks linked list in asyncio ( #128869 )
...
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
2025-02-06 19:51:07 +01:00
Kumar Aditya
e635bf2e49
gh-128002: fix `test_all_tasks_different_thread` in asyncio ( #129267 )
2025-01-24 23:10:24 +05:30
Kumar Aditya
8e0b36006c
gh-128002: use `_PyObject_SetMaybeWeakref` when creating tasks in asyncio ( #128885 )
2025-01-24 21:12:56 +05:30
Thomas Grainger
38a9956876
gh-128308: pass `**kwargs` to asyncio task_factory ( #128768 )
...
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
2025-01-20 22:23:55 +05:30
Kumar Aditya
3efe28a40b
gh-128002: add more thread safety tests for asyncio ( #128480 )
2025-01-13 15:36:55 +00:00
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