消息 [249423]
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:44 | r.david.murray | 修改 | recipients:
+ r.david.murray, rsc1975 |
| 2015-08-31 18:59:44 | r.david.murray | 修改 | messageid: <1441047584.57.0.881644213401.issue24966@psf.upfronthosting.co.za> |
| 2015-08-31 18:59:44 | r.david.murray | 链接 | issue24966 messages |
| 2015-08-31 18:59:44 | r.david.murray | 创建 | |
|