This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, dangyogi, flox, gruszczy, r.david.murray, vstinner
Date 2010-05-10.14:54:22
SpamBayes Score 0.0003732285
Marked as misclassified No
Message-id <1273503263.74.0.606289623103.issue8256@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-05-10 14:54:23amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, vstinner, dangyogi, r.david.murray, gruszczy, flox
2010-05-10 14:54:23amaury.forgeotdarcsetmessageid: <1273503263.74.0.606289623103.issue8256@psf.upfronthosting.co.za>
2010-05-10 14:54:22amaury.forgeotdarclinkissue8256 messages
2010-05-10 14:54:22amaury.forgeotdarccreate