[issue10241] gc fixes for module m_copy attribute
Stefan Krah
report at bugs.python.org
Sun Oct 27 16:32:43 CET 2013
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 <report at bugs.python.org>
<http://bugs.python.org/issue10241>
_______________________________________
More information about the Python-bugs-list
mailing list