Thomas Grainger
08d7687094
gh-128307: Support eager_start=<bool> in create_eager_task_factory and various create_task functions ( #128306 )
...
Some create_task() functions were changed from `name=None, context=None` to `**kwargs`.
Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
2025-05-05 04:58:07 +00:00
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
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
5892853fb7
gh-127949: deprecate asyncio.set_event_loop_policy ( #128024 )
...
First step towards deprecating the asyncio policy system.
This deprecates `asyncio.set_event_loop_policy` and will be removed in Python 3.16.
2024-12-18 11:35:29 +05:30
Victor Stinner
bfabf96b50
gh-127258: Fix asyncio test_staggered_race_with_eager_tasks() ( #127358 )
...
Replace the sleep(2) with a task which is blocked forever.
2024-11-29 11:39:54 +01:00
Thomas Grainger
979c0df7c0
gh-124309: fix staggered race on eager tasks ( #124847 )
...
This patch is entirely by Thomas and Peter
Co-authored-by: Thomas Grainger <tagrain@gmail.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2024-10-11 16:31:06 -07:00
Peter Bierma
133e929a79
gh-124309: Revert eager task factory fix to prevent breaking downstream ( #124810 )
...
* Revert "GH-124639: add back loop param to staggered_race (#124700 )"
This reverts commit e0a41a5dd1 .
* Revert "gh-124309: Modernize the `staggered_race` implementation to support eager task factories (#124390 )"
This reverts commit de929f353c .
2024-09-30 18:37:27 -07:00
Peter Bierma
de929f353c
gh-124309: Modernize the staggered_race implementation to support eager task factories ( #124390 )
...
Co-authored-by: Thomas Grainger <tagrain@gmail.com>
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
Co-authored-by: Kumar Aditya <kumaraditya@python.org>
2024-09-26 05:11:17 +00:00
Peter Bierma
c08696286f
gh-122332: Fix missing NULL check in asyncio.Task.get_coro ( #122338 )
2024-07-27 11:57:48 +05:30
Alex Waygood
19601efa36
gh-109653: Remove unused imports in the Lib/ directory ( #109803 )
2023-09-24 15:07:23 +01:00
chgnrdv
d2cbb6e918
gh-105987: Fix reference counting issue in _asyncio._swap_current_task ( #105989 )
2023-06-24 10:53:24 +05:30
Victor Stinner
ae319e4b43
gh-105407: Remove unused imports in tests ( #105408 )
2023-06-06 22:50:43 +02:00
Itamar Ostricher
a474e04388
gh-97696: asyncio eager tasks factory ( #102853 )
...
Co-authored-by: Jacob Bower <jbower@meta.com>
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
2023-05-01 15:10:13 -06:00