[issue8754] ImportError: quote bad module name in message

Georg Brandl report at bugs.python.org
Fri Dec 17 16:40:16 CET 2010


Georg Brandl <georg at python.org> added the comment:

The change would be fine with me.  What happens with the PyUnicode_FromString() usage in the patch if the string cannot be decoded?  That should not lead to a UnicodeError being raised.

Also, the __main__ changes look gratuitous to me.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8754>
_______________________________________


More information about the Python-bugs-list mailing list