Message214702
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. |
|
Date |
User |
Action |
Args |
2014-03-24 17:20:08 | brett.cannon | set | recipients:
+ brett.cannon, ncoghlan, eric.snow |
2014-03-24 17:20:08 | brett.cannon | set | messageid: <1395681608.6.0.965988272103.issue21052@psf.upfronthosting.co.za> |
2014-03-24 17:20:08 | brett.cannon | link | issue21052 messages |
2014-03-24 17:20:08 | brett.cannon | create | |
|