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.
B
Brett Cannon committed
a7468bc5c6153784fb9ab35baf030162208d852d
Parent: f3c524d