New submission from Brett Cannon:

>>> from re import bogus
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: cannot import name bogus

Should have 'bogus' using the repr to match the other cases of 
ModuleNotFoundError

----------
assignee: brett.cannon
components: Interpreter Core
keywords: easy
messages: 192138
nosy: brett.cannon
priority: normal
severity: normal
stage: needs patch
status: open
title: Use the repr of a module name for ModuleNotFoundError in ceval.c
versions: Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18342>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to