Message218611
| Author |
vstinner |
| Recipients |
ezio.melotti, kennyluck, loewis, python-dev, serhiy.storchaka, vstinner |
| Date |
2014年05月15日.13:12:01 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1400159521.27.0.644506361025.issue13916@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
It makes sense to restrict surrogatepass to UTF-* encodings. UTF-8, UTF-16 and UTF-32 encoders reject surrogate characters, but not UTF-7. Is it a bug? I'm asking because PyCodec_SurrogatePassErrors() doesn't support UTF-7.
IMO your change is important enough to be mentionned in What's new Python 3.5 document, and maybe also in the documentation of the codecs module. |
|