Stefan Krah added the comment:

IMO we have two references to many newly created values in _PySys_Init():

       SET_SYS_FROM_STRING("hexversion",
                            PyLong_FromLong(PY_VERSION_HEX));

One from PyLong_FromLong() and the other from PyDict_SetItemString() in the
macro.  So it may well be that the fix for this issue just exposes the fact
that the last reference is no longer reachable if m_copy is cleared.

----------

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

Reply via email to