[issue31420] Reference leaks introduced by bpo-30860

STINNER Victor report at bugs.python.org
Mon Sep 11 13:16:19 EDT 2017


STINNER Victor added the comment:

Extract of my msg295399: "The problem is that warnoptions is stored in a C global variable *and* in sys.warnoptions of each interpreter. The ownership of this variable is unclear."

Maybe we need a change similar to bpo-28411 (commit 86b7afdfeee77993fe896a2aa13b3f4f95973f16) which removed the "modules" field from Py_InterpreterState.

----------

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


More information about the Python-bugs-list mailing list