[issue6483] Modules are not deallocated correctly if m_size = -1
Julian Andres Klode
report at bugs.python.org
Wed Jul 15 13:26:51 CEST 2009
Julian Andres Klode <jak at jak-linux.org> added the comment:
I believe this may be related to Python/import.c (l. 592):
def->m_base.m_copy = PyDict_Copy(dict);
It creates a copy of the module dictionary, but the reference count of
this copy is not decreased when the module object is deallocated, thus
causing the objects contained therein to be not allocated as well.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6483>
_______________________________________
More information about the Python-bugs-list
mailing list