[Python-Dev] Deprecate the buffer object?
Neil Schemenauer
nas-python at python.ca
Thu Oct 30 10:21:01 EST 2003
More information about the Python-Dev mailing list
Thu Oct 30 10:21:01 EST 2003
- Previous message: [Python-Dev] Deprecate the buffer object?
- Next message: [Python-Dev] Deprecate the buffer object?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, Oct 30, 2003 at 03:30:18PM +1300, Greg Ewing wrote: > That's completely different from what I had in mind, which was: > > (1) Keep a reference to the base object in the buffer object, and It already does this. > (2) Use the buffer API to fetch a fresh pointer from the > base object each time it's needed. > > Is there some reason that still wouldn't be safe enough? I don't see any problem with that. It's probably a better solution since it doesn't require a new flag and it lets you create buffers that reference objects like arrays. Neil
- Previous message: [Python-Dev] Deprecate the buffer object?
- Next message: [Python-Dev] Deprecate the buffer object?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list