[issue1772788] chr(128) in u'only ascii' -> TypeError with misleading msg
R. David Murray
report at bugs.python.org
Mon Oct 25 21:16:42 CEST 2010
R. David Murray <rdmurray at bitdance.com> added the comment:
I'm not sure that I'd consider:
>>> 'abc' in b'abcde'
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: Type str doesn't support the buffer API
a clear error message :) It certainly isn't as bad as the 2.x message, though.
----------
nosy: +r.david.murray
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1772788>
_______________________________________
More information about the Python-bugs-list
mailing list