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 michael.foord
Recipients Julian, alexgarel, brett.cannon, chris.jerdonek, eric.snow, iElectric, michael.foord, r.david.murray, rbcollins, slmnhq
Date 2013-03-27.12:58:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1364389085.47.0.559313549941.issue7559@psf.upfronthosting.co.za>
In-reply-to
Content
My preferred fix is to wrap "an exception during import" as a test that fails instead of an AttributeError. This would definitely be a new feature rather than a bugfix - so it could only be in 3.4. 

It could be made available to Python 2.7 through the unittest2 backport.

None of the current patches implement my preferred solution yet.
History
Date User Action Args
2013-03-27 12:58:05michael.foordsetrecipients: + michael.foord, brett.cannon, rbcollins, iElectric, r.david.murray, slmnhq, chris.jerdonek, Julian, eric.snow, alexgarel
2013-03-27 12:58:05michael.foordsetmessageid: <1364389085.47.0.559313549941.issue7559@psf.upfronthosting.co.za>
2013-03-27 12:58:05michael.foordlinkissue7559 messages
2013-03-27 12:58:05michael.foordcreate