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.0127883
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