From: Kumar Aditya Date: Mon, 24 Feb 2025 15:37:59 +0000 (+0530) Subject: gh-129874: avoid mixing pure python and C impl in eager execution (#130515) X-Git-Tag: v3.14.0a6~286 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=38d45d23a67edd603f26981c8498dc09c83e8091;p=thirdparty%2FPython%2Fcpython.git gh-129874: avoid mixing pure python and C impl in eager execution (#130515) --- diff --git a/Lib/asyncio/tasks.py b/Lib/asyncio/tasks.py index 7f7ee81403a7..06d46deda8d6 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: