Message251682
| Author |
martin.panter |
| Recipients |
Arfrever, ezio.melotti, lemburg, martin.panter, ncoghlan, pitrou, r.david.murray, serhiy.storchaka, sjt, steven.daprano, vstinner |
| Date |
2015年09月27日.05:00:34 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1443330034.45.0.632463225898.issue18814@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
[padding]
I think my suggested colours for the bikeshed would be handle_surrogates() and handle_surrogateescape(). "Rehandle" seems awkward and too assuming to me. And I agree with Serhiy that surrogates are a Unicode thing, not just related to the "surrogatepass" handler.
Adding them to "codecs" makes sense to me. The most important one, handle_surrogateescape() or equivalent, is closely related to the error handler of that module.
Having handle_surrogateescape or equivalent would probably be useful for Issue 25184 (displaying an arbitrary file path in a UTF-8 HTML file). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2015年09月27日 05:00:34 | martin.panter | set | recipients:
+ martin.panter, lemburg, ncoghlan, pitrou, vstinner, ezio.melotti, Arfrever, steven.daprano, r.david.murray, sjt, serhiy.storchaka |
| 2015年09月27日 05:00:34 | martin.panter | set | messageid: <1443330034.45.0.632463225898.issue18814@psf.upfronthosting.co.za> |
| 2015年09月27日 05:00:34 | martin.panter | link | issue18814 messages |
| 2015年09月27日 05:00:34 | martin.panter | create |
|