[issue10335] tokenize.open_python(): open a Python file with the right encoding
Éric Araujo
report at bugs.python.org
Sat Nov 6 17:15:15 CET 2010
Éric Araujo <merwok at netwok.org> added the comment:
> Note that it is useful for opening any text file with an encoding
> cookie, not only python source code,
This is cool. doctest could benefit from that, I think.
> so "tokenize.open()" sounds attractive.
Agreed, even though the docstring of tokenize does talk about Python code.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10335>
_______________________________________
More information about the Python-bugs-list
mailing list