[issue19421] FileIO destructor imports indirectly the io module at exit

STINNER Victor report at bugs.python.org
Mon Oct 28 15:49:04 CET 2013


STINNER Victor added the comment:

> Can you explain what the actual cause of the crash is?

I modified locally my Python source code (I worked on a patch for PyFrame_LocalsToFast(), issue #18408), the crash was a bug in my code, it's unrelated to the issue.

I opened an issue because I'm surprised that Python tries to import a module which was just unloaded, during its finalization procedure.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19421>
_______________________________________


More information about the Python-bugs-list mailing list