mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
gh-129874: avoid mixing pure python and C impl in eager execution (#130515)
This commit is contained in:
parent
8a76eb8469
commit
38d45d23a6
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue