[issue20032] asyncio.Future.set_exception() creates a reference cycle

Guido van Rossum report at bugs.python.org
Fri Dec 20 23:35:49 CET 2013


Guido van Rossum added the comment:

The only reasonable place to break the cycle seems to be the frame containing the set_exception() call -- but that could be app code.

Looking again at what the patch actually does I think it is too big a hammer anyway -- it would break debugging tools that preserve tracebacks and inspect the frames later.

----------

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


More information about the Python-bugs-list mailing list