STINNER Victor <vstin...@python.org> added the comment:

PyUnicode_InternInPlace() in intern_strings() can convert an immortal string to 
a regular Python strong reference, whereas _PyStaticCode_Dealloc() doesn't 
bother with clearing co_names, co_consts and co_localsplusnames.

----------

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

Reply via email to