Martin v. Löwis <mar...@v.loewis.de> added the comment:

Here is a new patch that fixes this issue, and the duplicate issues
(#4410, and #4623).

It doesn't try to eliminate code duplication, but fixes coding_spec by
decoding always to Latin-1 first until the coding is known. It fixes
check_syntax by opening the source file in binary. It should have fixed
tabnanny the same way, except that tabnanny cannot properly process byte
tokens.

----------
keywords: +needs review
priority:  -> release blocker
Added file: http://bugs.python.org/file12486/idle_encoding_4.patch

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

Reply via email to