Nov. 23, 2012
8:32 p.m.
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@bugs.python.org> <http://bugs.python.org/issue16518> _______________________________________