diff options
author | Kumar Aditya <kumaraditya@python.org> | 2025-02-24 21:07:59 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-24 15:37:59 +0000 |
commit | 38d45d23a67edd603f26981c8498dc09c83e8091 (patch) | |
tree | e0eb335f53c53bdf839a9742001f400e133f9c06 /Lib/asyncio | |
parent | 8a76eb846926384a48bb1997bbf5c162fe29fc5d (diff) | |
download | cpython-38d45d23a67edd603f26981c8498dc09c83e8091.tar.gz cpython-38d45d23a67edd603f26981c8498dc09c83e8091.zip |
gh-129874: avoid mixing pure python and C impl in eager execution (#130515)
Diffstat (limited to 'Lib/asyncio')
-rw-r--r-- | Lib/asyncio/tasks.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncio/tasks.py b/Lib/asyncio/tasks.py index 7f7ee81403a..06d46deda8d 100644 --- a/Lib/asyncio/tasks.py +++ b/Lib/asyncio/tasks.py @@ -110,7 +110,7 @@ class Task(futures._PyFuture): # Inherit Python Task implementation self.__eager_start() else: self._loop.call_soon(self.__step, context=self._context) - _register_task(self) + _py_register_task(self) def __del__(self): if self._state == futures._PENDING and self._log_destroy_pending: |