[issue14629] discrepency between tokenize.detect_encoding() and PyTokenizer_FindEncodingFilename()
Martin v. Löwis
report at bugs.python.org
Fri Apr 20 18:19:30 CEST 2012
Martin v. Löwis <martin at v.loewis.de> added the comment:
IMO, the test is flawed testing for the specific error message. OTOH, the original message is better than the tokenize message in that it mentions the file name. However, tokenize does not have the file name available, so it can't possibly report it.
I have no idea how to resolve this. Contributions are welcome.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14629>
_______________________________________
More information about the Python-bugs-list
mailing list