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, python-dev, vstinner
Date 2013-10-28.17:50:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1382982620.09.0.0886734049478.issue19421@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a patch to not import again the io module in _Py_DisplaySourceLine() if the module was unloaded.

A simpler patch is to just return (don't check sys.modules) if _Py_Finalizing is set.

Note: I also created issue #19424 to avoid conversion from/to UTF-8.
History
Date User Action Args
2013-10-28 17:50:20vstinnersetrecipients: + vstinner, brett.cannon, pitrou, python-dev
2013-10-28 17:50:20vstinnersetmessageid: <1382982620.09.0.0886734049478.issue19421@psf.upfronthosting.co.za>
2013-10-28 17:50:20vstinnerlinkissue19421 messages
2013-10-28 17:50:19vstinnercreate