[issue9771] add an optional "default" argument to tokenize.detect_encoding
STINNER Victor
report at bugs.python.org
Mon Nov 22 11:52:51 CET 2010
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
> no cookie found, returns ('utf-8', [line1, line2])
I never understood the usage of the second item. IMO it should be None if no cookie found.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9771>
_______________________________________
More information about the Python-bugs-list
mailing list