[Python-Dev] Deprecate the buffer object?

Neil Schemenauer nas-python at python.ca
Fri Oct 31 09:12:08 EST 2003


On Fri, Oct 31, 2003 at 04:37:51PM +1300, Greg Ewing wrote:
> How about just having it call the hash method of the base
> object? If the base object is hashable, this will do something
> reasonable, and if not, it will fail in the expected way.

The buffer can reference a subset of the original data ('size' an
'offset' parameters).

  Neil



More information about the Python-Dev mailing list