[issue37146] opcode cache for LOAD_GLOBAL emits false alarm in memory leak hunting

STINNER Victor report at bugs.python.org
Fri Feb 19 12:52:54 EST 2021


STINNER Victor <vstinner at python.org> added the comment:

> (Or perhaps provide an -X flag to disable it without the need to recompile.)

Giving the ability to control the cache size, at least at Python startup, is one option.

Or maybe need a generic -X flag to tell Python that libregrtest is tracking leaks, since we might need to change other parameters than only the opcode cache size.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37146>
_______________________________________


More information about the Python-bugs-list mailing list