Author Steven.Barker
Recipients BreamoreBoy, Steven.Barker, antox, brett.cannon, rbcollins
Date 2015-09-09.03:42:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1441770178.58.0.818461580314.issue23447@psf.upfronthosting.co.za>
In-reply-to
Content
I've managed to partially fix my build environment, so I can verify that my patch (attached previously) works as intended. I'm not completely sure that it doesn't break unrelated things as my build still has lots of failing tests (which all appear to be unrelated to this issue). Nothing obviously new breaks with the patch applied.

The test I added in the patch does fail (as expected) on the unpatched interpreter, but passes on a patched version (though I've just noticed that the attempt at catching the exception doesn't work, since the current import code raises an AttributeError rather than the ImportError I had expected). I don't believe any other tests failed anew on the patched code, but like I said, I've got a lot of unrelated test failures so I might be missing some subtle issues.

I'm attaching an updated version of the patch with better exception handling in the test code. The patch applies cleanly to the latest dev branch. I'd appreciate any reviews or other feedback.
History
Date User Action Args
2015-09-09 03:42:58Steven.Barkersetrecipients: + Steven.Barker, brett.cannon, rbcollins, BreamoreBoy, antox
2015-09-09 03:42:58Steven.Barkersetmessageid: <1441770178.58.0.818461580314.issue23447@psf.upfronthosting.co.za>
2015-09-09 03:42:58Steven.Barkerlinkissue23447 messages
2015-09-09 03:42:57Steven.Barkercreate