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 vstinner
Recipients brett.cannon, pitrou, vstinner
Date 2013-10-28.12:59:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
"show_warning() and/or _Py_DisplaySourceLine() should not try to display the Python line while Python is exiting. There is for example the flag _Py_Finalizing."

Or PyImport_Import() should fail with an ImportError("block importing 'io' when python is exiting") (or a better message) when Python is exiting (if _Py_Finalizing is 1).
Date User Action Args
2013-10-28 12:59:07vstinnersetrecipients: + vstinner, brett.cannon, pitrou
2013-10-28 12:59:07vstinnersetmessageid: <>
2013-10-28 12:59:07vstinnerlinkissue19421 messages
2013-10-28 12:59:07vstinnercreate