Skip to content

Commit 38d45d2

Browse files
gh-129874: avoid mixing pure python and C impl in eager execution (#130515)
1 parent 8a76eb8 commit 38d45d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/asyncio/tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def __init__(self, coro, *, loop=None, name=None, context=None,
110110
self.__eager_start()
111111
else:
112112
self._loop.call_soon(self.__step, context=self._context)
113-
_register_task(self)
113+
_py_register_task(self)
114114

115115
def __del__(self):
116116
if self._state == futures._PENDING and self._log_destroy_pending:

0 commit comments

Comments
 (0)