> I tried (1) adding a __del__, but no dice, I guess > because it wasn't really an object method but just a free function in a > module; and (2) the m_free callback in the module definition structure, > but it was not called.
m_free will be called if the module object gets deallocated. So if m_free really isn't called, the module got never deallocated. Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list