[issue10335] tokenize.open_python(): open a Python file with the right encoding

STINNER Victor report at bugs.python.org
Sat Nov 6 16:42:22 CET 2010

STINNER Victor <victor.stinner at haypocalc.com> added the comment:

> In the test, do you have to remove the TESTFN file manually?  Isn’t that
> handled by unittest or regrtest?

The test uses TESTFN+'.py', not TESTFN ;-)

> I think the name of the function could be better but I don’t have a
> proposal.

Do you prefer a name like tokenize.open()?


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list