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 Arfrever, barry, berker.peksag, brett.cannon, eric.snow, jwilk, larry, ncoghlan, njs, serhiy.storchaka, takluyver
Date 2015-08-15.23:32:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1439681529.06.0.158904779348.issue24305@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a pure Python patch that skips any frames that mentions 'importlib' and '_bootstrap' in the filename (it also skips _warnings.warn for easy testing since I didn't implement the C part). The only side-effect is that negative stack levels won't be the same because of the change in line numbers, but in that instance I'm not going to worry about it. It also causes test_venv and test_warnings to fail but I have not looked into why.

And still need a call by Larry as to whether this will go into 3.5.0.
History
Date User Action Args
2015-08-15 23:32:09brett.cannonsetrecipients: + brett.cannon, barry, ncoghlan, larry, jwilk, Arfrever, njs, eric.snow, takluyver, berker.peksag, serhiy.storchaka
2015-08-15 23:32:09brett.cannonsetmessageid: <1439681529.06.0.158904779348.issue24305@psf.upfronthosting.co.za>
2015-08-15 23:32:09brett.cannonlinkissue24305 messages
2015-08-15 23:32:08brett.cannoncreate