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 Arfrever, brett.cannon, georg.brandl, meador.inge, ncoghlan, python-dev
Date 2012-07-20.13:49:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1342792199.91.0.207430153225.issue15386@psf.upfronthosting.co.za>
In-reply-to
Content
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:50:00ncoghlansetrecipients: + ncoghlan, brett.cannon, georg.brandl, Arfrever, meador.inge, python-dev
2012-07-20 13:49:59ncoghlansetmessageid: <1342792199.91.0.207430153225.issue15386@psf.upfronthosting.co.za>
2012-07-20 13:49:59ncoghlanlinkissue15386 messages
2012-07-20 13:49:58ncoghlancreate