Benjamin Peterson added the comment:

Yes, this is a silly bug where we "shortcut" decoding of utf-8 files by not 
checking if its valid UTF-8. However, this behavior has been around for a long 
time, so I'm not going to change it in 2.7.x.

----------
nosy: +benjamin.peterson
resolution:  -> wont fix
status: open -> closed

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

Reply via email to