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. -- Greg