A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-October/039826.html below:

[Python-Dev] Deprecate the buffer object?

[Python-Dev] Deprecate the buffer object? [Python-Dev] Deprecate the buffer object?Neil Schemenauer nas-python at python.ca
Thu Oct 30 10:21:01 EST 2003
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

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4