Author brett.cannon
Recipients brett.cannon, eric.snow, georg.brandl, pitrou, sfeltman
Date 2012-08-17.16:08:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1345219715.45.0.164558074799.issue15715@psf.upfronthosting.co.za>
In-reply-to
Content
And this is why we have said people should use the idiom of ``__import__('http.blah'); mod = sys.modules['http.blah']`` if importlib is not used (which is on PyPI and works as far back as Python 2.3), else you will deal with an AttributeError later instead of an ImportError upfront. <grumble>Darn backwards-compatibility</grumble>.

Eric's patch looks fine, so I will get it committed today.
History
Date User Action Args
2012-08-17 16:08:35brett.cannonsetrecipients: + brett.cannon, georg.brandl, pitrou, eric.snow, sfeltman
2012-08-17 16:08:35brett.cannonsetmessageid: <1345219715.45.0.164558074799.issue15715@psf.upfronthosting.co.za>
2012-08-17 16:08:34brett.cannonlinkissue15715 messages
2012-08-17 16:08:34brett.cannoncreate