Author amaury.forgeotdarc
Recipients amaury.forgeotdarc, ezio.melotti, lemburg
Date 2010-07-08.11:11:45
SpamBayes Score 0.0583095
Marked as misclassified No
Message-id <1278587507.72.0.0928296544649.issue9198@psf.upfronthosting.co.za>
In-reply-to
Content
The chapter "Rationale" in PEP3138 explains why sys.stdout uses "strict" encoding, when sys.stderr uses "backslashreplace".

It would be possible to use "backslashreplace" for stdout as well for interactive sessions, but the PEP also rejected this because it '''may add confusion of the kind "it works in interactive mode but not when redirecting to a file".'''
History
Date User Action Args
2010-07-08 11:11:47amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, lemburg, ezio.melotti
2010-07-08 11:11:47amaury.forgeotdarcsetmessageid: <1278587507.72.0.0928296544649.issue9198@psf.upfronthosting.co.za>
2010-07-08 11:11:46amaury.forgeotdarclinkissue9198 messages
2010-07-08 11:11:45amaury.forgeotdarccreate