Message249423
| Author |
r.david.murray |
| Recipients |
r.david.murray, rsc1975 |
| Date |
2015年08月31日.18:59:44 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1441047584.57.0.881644213401.issue24966@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2015年08月31日 18:59:44 | r.david.murray | set | recipients:
+ r.david.murray, rsc1975 |
| 2015年08月31日 18:59:44 | r.david.murray | set | messageid: <1441047584.57.0.881644213401.issue24966@psf.upfronthosting.co.za> |
| 2015年08月31日 18:59:44 | r.david.murray | link | issue24966 messages |
| 2015年08月31日 18:59:44 | r.david.murray | create |
|