[issue14970] -v command line option is broken

Kristján Valur Jónsson report at bugs.python.org
Thu May 31 17:20:36 CEST 2012


Kristján Valur Jónsson <kristjan at ccpgames.com> added the comment:

Yes, I found that.  The line in question is, however, this:
     _verbose_message('import {!r} # {!r}', name, loader)
(_bootstrap.py:1254).

Unfortunately, I see no way to get at the line from which the import occurred here.  The loader itself is not useful for that.  Perhaps the author of importlib knows more, e.g. whether the feature to know whence an import originates is useful or has been dropped.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14970>
_______________________________________


More information about the Python-bugs-list mailing list