Message253008
| Author |
vstinner |
| Recipients |
pitrou, r.david.murray, serhiy.storchaka, vstinner |
| Date |
2015年10月14日.16:33:57 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1444840437.31.0.636361172714.issue19058@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> What could you say about the recent patch Victor?
I'm not sure that it works in all cases. io.TextIOWrapper doesn't care to normalize the encoding name. You should use something like:
encoding = codecs.lookup(encoding).name
Otherwise, the test can fail if you care one of the various aliases of each encoding. Example: "UTF-8" vs "utf8" vs "utf-8". |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2015年10月14日 16:33:57 | vstinner | set | recipients:
+ vstinner, pitrou, r.david.murray, serhiy.storchaka |
| 2015年10月14日 16:33:57 | vstinner | set | messageid: <1444840437.31.0.636361172714.issue19058@psf.upfronthosting.co.za> |
| 2015年10月14日 16:33:57 | vstinner | link | issue19058 messages |
| 2015年10月14日 16:33:57 | vstinner | create |
|