Éric Araujo <[email protected]> added the comment:
__import__ and importlib in Python 3.3 already use repr (see c4361bab6914 and
9f9b7b656761):
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named 'string\n'
For other stdlib modules, see #8754.
----------
nosy: +eric.araujo
resolution: -> out of date
stage: -> committed/rejected
title: Display module name as string in `ImportError` -> Use repr(module name)
ImportErrors
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue13457>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com