This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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.9886107e-05
Marked as misclassified No
Message-id <CAMpsgwaUJLrgJXj6nfkK=ajqx-8fLk2uRFLEZyFsjmXG+W1Pmw@mail.gmail.com>
In-reply-to <1329038378.58.0.474374234993.issue13997@psf.upfronthosting.co.za>
Content
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.
History
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