[issue46430] intern strings in deepfrozen modules
Guido van Rossum
report at bugs.python.org
Wed Feb 23 13:07:16 EST 2022
Guido van Rossum <guido at python.org> added the comment:
> Not leaking memory at exit matters when Python is embedded
> in an application.
Sure, but "leaks" caused by deep-freezing cannot be solved by freeing up the deep-frozen memory -- the solution must be to update the accounting somewhere.
Where is the existence of Py_None accounted for (since it's statically allocated, or at least used to be)? That's likely where we'd have to do something about the deep-frozen objects.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46430>
_______________________________________
More information about the Python-bugs-list
mailing list