Message168447
| 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:35 | brett.cannon | set | recipients:
+ brett.cannon, georg.brandl, pitrou, eric.snow, sfeltman |
| 2012年08月17日 16:08:35 | brett.cannon | set | messageid: <1345219715.45.0.164558074799.issue15715@psf.upfronthosting.co.za> |
| 2012年08月17日 16:08:34 | brett.cannon | link | issue15715 messages |
| 2012年08月17日 16:08:34 | brett.cannon | create |
|