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 Trundle, belopolsky, brett.cannon, cool-RR, giampaolo.rodola, gruszczy, loewis, ncoghlan, nedbat, r.david.murray, techtonik, vstinner
Date 2011-03-18.22:56:53
SpamBayes Score 2.7931485e-05
Marked as misclassified No
Message-id <1300489014.35.0.827500205703.issue1559549@psf.upfronthosting.co.za>
In-reply-to
Content
Ok, here is a patch created using mq. I have a problem, however. I managed to solve following situation:

try:
    raise ImportError('failed import' module_name='somemodule')
except ImportError as e:
    print(e.module_name)

that would print somemodule.

However, I can't pass kwargs to ImportError_init from load_next. If someone could instruct me, how this can be achieved, I'll be happy to do that.
History
Date User Action Args
2011-03-18 22:56:54gruszczysetrecipients: + gruszczy, loewis, brett.cannon, ncoghlan, belopolsky, vstinner, techtonik, giampaolo.rodola, nedbat, r.david.murray, Trundle, cool-RR
2011-03-18 22:56:54gruszczysetmessageid: <1300489014.35.0.827500205703.issue1559549@psf.upfronthosting.co.za>
2011-03-18 22:56:53gruszczylinkissue1559549 messages
2011-03-18 22:56:53gruszczycreate