[issue23297] Clarify error when ‘tokenize.detect_encoding’ receives text

Martin Panter report at bugs.python.org
Mon Jun 20 23:59:33 EDT 2016


Changes by Martin Panter <vadmium+py at gmail.com>:


----------
stage:  -> needs patch
title: ‘tokenize.detect_encoding’ is confused between text and bytes: no ‘startswith’ method on a byte string -> Clarify error when ‘tokenize.detect_encoding’ receives text
type: crash -> behavior
versions: +Python 3.5, Python 3.6 -Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23297>
_______________________________________


More information about the Python-bugs-list mailing list