➜

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.

作者 r.david.murray
收信人 r.david.murray, rsc1975
日期 2015-08-31.18:59:44
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1441047584.57.0.881644213401.issue24966@psf.upfronthosting.co.za>
In-reply-to
内容
Yeah, I think I was thinking of issue 19846, which was fixed by using surrogateescape on the standard streams instead of "guessing" utf-8.

I'm not utterly opposed to turning the ValueError into a default return value, but as you can see, the fact that the ValueError was returned pointed toward the deeper problem (needing to have a way to change the encoding of an already-existing TextIO stream).
历史
日期 用户 动作 参数
2015-08-31 18:59:44r.david.murray修改recipients: + r.david.murray, rsc1975
2015-08-31 18:59:44r.david.murray修改messageid: <1441047584.57.0.881644213401.issue24966@psf.upfronthosting.co.za>
2015-08-31 18:59:44r.david.murray链接issue24966 messages
2015-08-31 18:59:44r.david.murray创建