[Python-Dev] bytes-like objects

Greg Ewing greg.ewing at canterbury.ac.nz
Mon Oct 6 02:15:58 CEST 2014

I wrote:

>> But you can't
>> create an object that supports the buffer protocol by implementing
>> Python methods.

Another thing is that an object implementing the buffer
interface doesn't have to look anything at all like a
bytes object from Python, so calling it "bytes-like"
could be rather confusing.


More information about the Python-Dev mailing list