[issue21163] asyncio doesn't warn if a task is destroyed during its execution

STINNER Victor report at bugs.python.org
Mon Jun 23 23:00:18 CEST 2014


STINNER Victor added the comment:

@Guido, @Yury: What do you think of log_destroyed_pending_task.patch? Does it sound correct?

Or would you prefer to automatically keep a strong reference somewhere and then break the strong reference when the task is done? Such approach sounds to be error prone :)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21163>
_______________________________________


More information about the Python-bugs-list mailing list