Kristján Valur Jónsson <krist...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue14970> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com