Amaury Forgeot d'Arc <[email protected]> added the comment: The patch is wrong: _PyUnicode_AsString(Py_None) should not return "utf8"!
I suggest that since PyOS_Readline() write the prompt to stderr, the conversion uses the encoding of stderr. ---------- nosy: +amaury.forgeotdarc _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue8256> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
