➜

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.

作者 amaury.forgeotdarc
收信人 amaury.forgeotdarc, ezio.melotti, lemburg
日期 2010-07-08.11:11:45
SpamBayes Score 0.05830954
Marked as misclassified 否
Message-id <1278587507.72.0.0928296544649.issue9198@psf.upfronthosting.co.za>
In-reply-to
内容
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".'''
历史
日期 用户 动作 参数
2010-07-08 11:11:47amaury.forgeotdarc修改recipients: + amaury.forgeotdarc, lemburg, ezio.melotti
2010-07-08 11:11:47amaury.forgeotdarc修改messageid: <1278587507.72.0.0928296544649.issue9198@psf.upfronthosting.co.za>
2010-07-08 11:11:46amaury.forgeotdarc链接issue9198 messages
2010-07-08 11:11:45amaury.forgeotdarc创建