[issue8774] tabnanny improperly handles non-ascii source files
Benjamin Peterson
report at bugs.python.org
Fri May 21 01:12:54 CEST 2010
Benjamin Peterson <benjamin at python.org> added the comment:
2010/5/20 STINNER Victor <report at bugs.python.org>:
>
> STINNER Victor <victor.stinner at haypocalc.com> added the comment:
>
>> You should handle the case of encoding being None.
>
> detect_encoding() never returns None for the encoding. If there is no cookie, utf8 is returned by default.
Ah, right. looks ok then
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8774>
_______________________________________
More information about the Python-bugs-list
mailing list