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 ncoghlan
Recipients brett.cannon, jaraco, ncoghlan, python-dev, wkornewald
Date 2012-07-20.13:25:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1342790710.42.0.761783899489.issue15091@psf.upfronthosting.co.za>
In-reply-to
Content
Oh, wow, that was a *lot* harder than I expected to create a test for - I had to import importlib right at the start of regrtest, as well as tweak the import order in runpy, and doing so actually caused test_import to *crash* completely without the bug fixed.

The trick was realising that *anything* importing imp before importlib would mask the bug.
History
Date User Action Args
2012-07-20 13:49:06ncoghlanunlinkissue15091 messages
2012-07-20 13:25:12ncoghlansetrecipients: + ncoghlan, brett.cannon, jaraco, python-dev, wkornewald
2012-07-20 13:25:10ncoghlansetmessageid: <1342790710.42.0.761783899489.issue15091@psf.upfronthosting.co.za>
2012-07-20 13:25:09ncoghlanlinkissue15091 messages
2012-07-20 13:25:07ncoghlancreate