[issue13457] Display module name as string in `ImportError`

Brian Curtin report at bugs.python.org
Tue Nov 22 21:32:22 CET 2011


Brian Curtin <brian at python.org> added the comment:

3.3 will be adding an attribute which would have "datetime\r" here. See #1559549, which might make this a duplicate.

You shouldn't (have to) rely on parsing the exception string.

----------
nosy: +brian.curtin

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


More information about the Python-bugs-list mailing list