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/2002-July/027141.html below:

[Python-Dev] PEP 298 - the Fixed Buffer Interface

[Python-Dev] PEP 298 - the Fixed Buffer Interface [Python-Dev] PEP 298 - the Fixed Buffer InterfaceThomas Heller thomas.heller@ion-tof.com
Wed, 31 Jul 2002 14:32:25 +0200
> Additional Notes/Comments
> 
>     Python strings, Unicode strings, mmap objects, and maybe other
>     types would expose the fixed buffer interface, but the array type
>     would *not*, because its memory block may be reallocated during
>     its lifetime.
> 
Unfortunately it's impossible to implement the fixed buffer interface
on mmap objects - the memory mapped file can be closed at any time.
This would leave the pointers unusable.

It seems this is another use case for locking - if we want it.

Thomas





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