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.
Showing
Please register or sign in to comment