R. David Murray added the comment:

The error message could indeed be made clearer by turning it into a message 
that tokenize itself requires bytes input.  Or, more likely, the additional 
error handling needs to be in detect_encoding.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23297>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to