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/027159.html below:

[Python-Dev] pre-PEP: The Safe Buffer Interface

[Python-Dev] pre-PEP: The Safe Buffer Interface [Python-Dev] pre-PEP: The Safe Buffer InterfaceThomas Heller thomas.heller@ion-tof.com
Wed, 31 Jul 2002 17:58:05 +0200
From: "Guido van Rossum" <guido@python.org>
> Based on the example of mmap (which can be closed at any time) I
> agree that the fixed buffer interface needs to have "get"
> and "release" methods (please pick better names).  Maybe Thomas can
> update PEP 298.

The consequence: mmap objects need a 'buffer lock counter',
and cannot be closed while the count is >0. Which exception
is raised then?

Or do you have something different in mind?
The lock counter wouuld not be needed for strings and unicode...

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