Filip Gruszczyński <[email protected]> added the comment:
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.
----------
Added file: http://bugs.python.org/file21284/1559549_3.patch
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue1559549>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com