Stefan Krah added the comment:
The docs say:
inquiry m_clear
A clear function to call during GC clearing of the module object, or NULL
if not needed.
freefunc m_free
A function to call during deallocation of the module object, or NULL if not
needed.
So I assume that GC clearing is not happening if sys.exit() is called. Note
that
the leak only occurs with sys.exit().
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue19972>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com