New submission from Ram Rachum <r...@rachum.com>:

Recently I was confronted with a mysterious error:

    ImportError: No module named datetime

Firther investigation revealed that the cause was a pickling problem that ran 
`__import__('datetime\r')`.

If `ImportError` would have shown the module name as a string, there would be 
no ambiguity:

    ImportError: No module named 'datetime\r'

----------
components: Interpreter Core
messages: 148140
nosy: cool-RR
priority: normal
severity: normal
status: open
title: Display module name as string in `ImportError`
versions: Python 3.3

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

Reply via email to