Martin v. Löwis added the comment:

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.

----------
nosy: +loewis

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21331>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to