From 38d45d23a67edd603f26981c8498dc09c83e8091 Mon Sep 17 00:00:00 2001 From: Kumar Aditya Date: Mon, 24 Feb 2025 21:07:59 +0530 Subject: gh-129874: avoid mixing pure python and C impl in eager execution (#130515) --- Lib/asyncio/tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/asyncio/tasks.py b/Lib/asyncio/tasks.py index 7f7ee81..06d46de 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: -- cgit v0.12