Pablo Galindo Salgado <pablog...@gmail.com> added the comment:

> gc.freeze() has a similar issue, no? This function also comes from Instagram 
> specific use case ;-)

Not really because this patch is much more impacting. gc.freeze() moves objects 
into a permanent generation making them not participate in the GC so the only 
leaks are cycle-based. With this patch immortal object will leak every strong 
reference that they have even if they don't participate in cycles (but also if 
they participate in cycles).

----------

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

Reply via email to