[issue24598] asyncio: add background task detecting reference cycles

STINNER Victor report at bugs.python.org
Thu Jul 9 16:10:12 CEST 2015


STINNER Victor added the comment:

> Doesn't the cycle-detecting GC handle these?

Maybe you are lucky and the GC is able to break the cycle. Maybe you are unlucky and all objects part of the cycle will never be deleted. Python 3.4 is better to handle these cases, but Python 3.3 is worse to handle reference cycles.

Being aware of the cycles help the developer to control when objects are deleted. It mean breaking the cycles help to delete objects sooner.

See other asyncio issues about "reference cycles" for some examples.

----------

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


More information about the Python-bugs-list mailing list