]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Have importlib use the repr of a module name in error messages.
authorBrett Cannon <brett@python.org>
Wed, 23 Mar 2011 23:06:00 +0000 (16:06 -0700)
committerBrett Cannon <brett@python.org>
Wed, 23 Mar 2011 23:06:00 +0000 (16:06 -0700)
commita7468bc5c6153784fb9ab35baf030162208d852d
treea4aca9e4cf68517aa017d2e5dc563841201dc681
parentf3c524d535965ec964ea497290aebc0d1e10bb66
Have importlib use the repr of a module name in error messages.

This makes it obvious that an import failed because of some extraneous
whitespace (e.g., a newline).

This is a partial fix for issue #8754.
Lib/importlib/_bootstrap.py
Misc/NEWS