[issue719888] tokenize module w/ coding cookie
Mark Dickinson
report at bugs.python.org
Tue Mar 18 19:05:50 CET 2008
Mark Dickinson <dickinsm at gmail.com> added the comment:
Sorry---ignore the last comment; if readline() doesn't supply bytes
then the line.decode('ascii') will fail with an AttributeError. So
there won't be silent failure.
I'll try thinking first and posting later next time.
____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue719888>
____________________________________
More information about the Python-bugs-list
mailing list