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 brett.cannon
Recipients brett.cannon, eric.snow, ncoghlan
Date 2014-03-24.17:20:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1395681608.6.0.965988272103.issue21052@psf.upfronthosting.co.za>
In-reply-to
Content
Issue #21049 managed to trigger a huge output of "ImportWarning: sys.meta_path is empty" because it managed to trigger an import during interpreter shutdown. The ImportWarning for sys.path_hooks and sys.meta_path were originally added because before importlib took over import it was totally legal to blank out sys.path_hooks and sys.meta_path and have import continue to work. But hopefully by the time Python 3.5 comes out there will be enough knowledge out there to not blindly empty them, making the warning superfluous as well as an annoyance when things go wrong in other respects.
History
Date User Action Args
2014-03-24 17:20:08brett.cannonsetrecipients: + brett.cannon, ncoghlan, eric.snow
2014-03-24 17:20:08brett.cannonsetmessageid: <1395681608.6.0.965988272103.issue21052@psf.upfronthosting.co.za>
2014-03-24 17:20:08brett.cannonlinkissue21052 messages
2014-03-24 17:20:08brett.cannoncreate