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 loewis
Recipients Sworddragon, ezio.melotti, lemburg, loewis, ncoghlan, r.david.murray, serhiy.storchaka, vstinner
Date 2014-06-21.20:32:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1403382743.59.0.775212765367.issue21331@psf.upfronthosting.co.za>
In-reply-to
Content
I disagree. The current decoder implementation is clearly incorrect: the unicode-escape encoding only uses bytes < 128. So decoding non-ascii bytes should fail. So the examples in msg217021 should all give UnicodeDecodeErrors.

As this is an incompatible change, we need to deprecate the current behavior for 3.5, and change it in 3.6.
History
Date User Action Args
2014-06-21 20:32:23loewissetrecipients: + loewis, lemburg, ncoghlan, vstinner, ezio.melotti, r.david.murray, Sworddragon, serhiy.storchaka
2014-06-21 20:32:23loewissetmessageid: <1403382743.59.0.775212765367.issue21331@psf.upfronthosting.co.za>
2014-06-21 20:32:23loewislinkissue21331 messages
2014-06-21 20:32:23loewiscreate