Message218611
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. |
|
Date |
User |
Action |
Args |
2014-05-15 13:12:01 | vstinner | set | recipients:
+ vstinner, loewis, ezio.melotti, python-dev, kennyluck, serhiy.storchaka |
2014-05-15 13:12:01 | vstinner | set | messageid: <1400159521.27.0.644506361025.issue13916@psf.upfronthosting.co.za> |
2014-05-15 13:12:01 | vstinner | link | issue13916 messages |
2014-05-15 13:12:01 | vstinner | create | |
|