homepage

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 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.
History
Date User Action Args
2011年03月06日 20:58:50gruszczysetrecipients: + gruszczy, loewis, brett.cannon, belopolsky, techtonik, giampaolo.rodola, nedbat, r.david.murray, cool-RR
2011年03月06日 20:58:49gruszczysetmessageid: <1299445129.97.0.648502886036.issue1559549@psf.upfronthosting.co.za>
2011年03月06日 20:58:49gruszczylinkissue1559549 messages
2011年03月06日 20:58:49gruszczycreate

AltStyle によって変換されたページ (->オリジナル) /