[issue10857] ImportError module attribute

anatoly techtonik report at bugs.python.org
Fri Jan 7 17:26:24 CET 2011

New submission from anatoly techtonik <techtonik at gmail.com>:

Need ImportError.module attribute to get the name of failed import. Right now it requires parsing ImportError.args that is presented in form "('No module named zqwer',)" that is not pythonic.

messages: 125656
nosy: techtonik
priority: normal
severity: normal
status: open
title: ImportError module attribute
type: feature request

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list