Ezio Melotti added the comment:

> "Buffer object" doesn't mean anything in Python 3 and, furthermore,
> it might be mixed up with the Python 2 `buffer` type.


> As for the error messages, they are generally very bad on this topic,
> so I would vote to change them :-)

I would say that they are verbose maybe, but not necessary bad.
Using "any object that supports the buffer protocol" without explicitly 
mentioning bytes (and bytearray) might end up being even more confusing (if 
that's what it's being proposed).


Python tracker <rep...@bugs.python.org>
Python-bugs-list mailing list

Reply via email to