Tim Peters <t...@python.org> added the comment:

Fleshing out something I left implicit:  if there's a trash object T with a 
finalizer but we don't KNOW it's trash, we won't force-run its finalizer before 
delete_garbage starts either.  Then, really the same thing:  we may tp_clear 
some piece of trash T's finalizer needs before enough cycles are broken that 
T's finalizer gets run as a routine consequence of T's refcount falling to 0.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38006>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to