Author vstinner
Recipients cvrebert, docs@python, eli.bendersky, eric.araujo, ezio.melotti, ncoghlan, pitrou, vstinner
Date 2012-02-12.09:55:48
SpamBayes Score 2.98861e-05
Marked as misclassified No
Message-id <>
In-reply-to <>
Why do you use Unicode with the ugly surrogateescape error handler in
this case? Bytes are just fine for such usecase.

The surrogateescape error handler produces unusual characters in range
U+DC80-U+DCFF which cannot be printed to a console because sys.stdout
uses the strict error handler, and sys.stderr  uses the
backslashreplace error handler. If I remember correctly, only UTF-7
encoder allow lone surrogate characters.
Date User Action Args
2012-02-12 09:55:49vstinnersetrecipients: + vstinner, ncoghlan, pitrou, ezio.melotti, eric.araujo, eli.bendersky, cvrebert, docs@python
2012-02-12 09:55:48vstinnerlinkissue13997 messages
2012-02-12 09:55:48vstinnercreate