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.
History
Date User Action Args
2014-05-15 13:12:01vstinnersetrecipients: + vstinner, loewis, ezio.melotti, python-dev, kennyluck, serhiy.storchaka
2014-05-15 13:12:01vstinnersetmessageid: <1400159521.27.0.644506361025.issue13916@psf.upfronthosting.co.za>
2014-05-15 13:12:01vstinnerlinkissue13916 messages
2014-05-15 13:12:01vstinnercreate