[docs] [issue16518] add "buffer protocol" to glossary

Antoine Pitrou report at bugs.python.org
Fri Nov 23 21:32:34 CET 2012


Antoine Pitrou added the comment:

> Do we have a recommended (and preferably briefer) way of saying, "any
> object that supports the buffer protocol"?

It depends where. There's no recommended way yet, but I would vote for
"bytes-like object" in error messages that are targetted at the average
developer.

The docs (glossary?) could explain that "bytes-like object" is the same
as "buffer-providing object" or "object implementing the buffer
protocol".

----------

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


More information about the docs mailing list