]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-91048: Also clear and set ts->asyncio_running_task with eager tasks (#129197)
authorŁukasz Langa <lukasz@langa.pl>
Thu, 23 Jan 2025 18:26:36 +0000 (19:26 +0100)
committerGitHub <noreply@github.com>
Thu, 23 Jan 2025 18:26:36 +0000 (19:26 +0100)
commitfc3d40016567abd0685131b768c8112e0084c238
tree623f0909becc1feffbbef3f85a22233450528e74
parentdbb25ce037a8eddc85a9f6ba541aec8b3fa931fa
gh-91048: Also clear and set ts->asyncio_running_task with eager tasks (#129197)

This was missing from gh-124640. It's already covered by the new
test_asyncio/test_free_threading.py in combination with the runtime
assertion in set_ts_asyncio_running_task.

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
Modules/_asynciomodule.c