Message130190
| Author |
gruszczy |
| Recipients |
belopolsky, brett.cannon, cool-RR, giampaolo.rodola, gruszczy, loewis, nedbat, r.david.murray, techtonik |
| Date |
2011年03月06日.20:58:48 |
| SpamBayes Score |
0.012788302 |
| Marked as misclassified |
No |
| Message-id |
<1299445129.97.0.648502886036.issue1559549@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
This is a draft of a patch. I have only used this new ImportError api in once place, so it would work with following code:
>>> try:
... import nosuchmodule
... except ImportError as e:
... print(e.module)
...
nosuchmodule
I have literally no experience with Python core, so I would be very grateful for comments and advice, so I could make this patch meet all requirements. |
|