This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Arfrever, brett.cannon, eric.snow, gennad, ncoghlan, pitrou, python-dev, serhiy.storchaka, vstinner
Date 2014-02-10.17:00:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1392051655.8.0.0474054104533.issue19255@psf.upfronthosting.co.za>
In-reply-to
Content
I agree that it is risky and don't insist. We can return to this patch when encounter more serious bug.

Last commit breaks test_create_at_shutdown_without_encoding in test_io for Python implementation of io.

This happens because Python implementation of TextIOWrapper.__init__() imports the locale module if encoding is not specified. Then _find_spec() in Lib/importlib/_bootstrap.py iterates sys.meta_path, but "meta_path" is one of names cleared in sys in PyImport_Cleanup().
History
Date User Action Args
2014-02-10 17:00:55serhiy.storchakasetrecipients: + serhiy.storchaka, brett.cannon, ncoghlan, pitrou, vstinner, Arfrever, python-dev, gennad, eric.snow
2014-02-10 17:00:55serhiy.storchakasetmessageid: <1392051655.8.0.0474054104533.issue19255@psf.upfronthosting.co.za>
2014-02-10 17:00:55serhiy.storchakalinkissue19255 messages
2014-02-10 17:00:55serhiy.storchakacreate