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/2000-October/009970.html below:

[Python-Dev] Wierd buffer "add" behaviour.

[Python-Dev] Wierd buffer "add" behaviour. [Python-Dev] Wierd buffer "add" behaviour.M.-A. Lemburg mal@lemburg.com
Mon, 16 Oct 2000 12:14:46 +0200
Mark Hammond wrote:
> [Problems with the buffer interface]
> If you have (eg.) an "array" object and query for its buffer, life is
> good.  If the array then resizes itself, your pointer is now dangling.  The
> simplest solution to this is probably to simply define the lifetimes of
> these pointers as very very short ;-)

...or disable the buffer interface for mutable types altogether !

-- 
Marc-Andre Lemburg
______________________________________________________________________
Business:                                      http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/



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