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

Martin Panter report at bugs.python.org
Fri Oct 10 15:44:26 CEST 2014


Martin Panter added the comment:

For the record, the python-dev thread about blocking imports is at <https://mail.python.org/pipermail/python-dev/2013-October/129907.html>. It sounded like the conclusion was that there shouldn’t be a problem importing a module at finalization.

I am investigating Issue 21049, and finding sys.meta_path is set to None at finalization, which is not handled well by the import code.

----------
nosy: +vadmium

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


More information about the Python-bugs-list mailing list