[docs] [issue16518] add "buffer protocol" to glossary
report at bugs.python.org
Fri Nov 23 21:30:44 CET 2012
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 <report at bugs.python.org>
More information about the docs