Ronald Oussoren <ronaldousso...@mac.com> added the comment: Removing the call to Py_DECREF is fishy.
The cleanup of the interpreter state in Py_Finalize doesn't clean up all state when m_copy refers to a version from a previous instance of the interpreter. Maybe the tp_dealloc of a module object clean up m_copy? I don't know enough of this code and its intended behavior to know if that would be a valid change. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9197> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com