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 <rep...@bugs.python.org>
<https://bugs.python.org/issue31420>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to