R. David Murray <rdmur...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue1772788>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to