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

[Python-Dev] PEP 298

[Python-Dev] PEP 298 [Python-Dev] PEP 298Martin v. Löwis martin@v.loewis.de
12 Dec 2002 20:54:14 +0100
Thomas Heller <theller@python.net> writes:

> I intend to work on the PEP 298 (locked buffer interface)
> implementation, with the hope that it is not too late to bring this
> into 2.3.  Is there still a chance?

Having looked at the PEP for the first time, I have a number of
comments:

- I think there must be a way to obtain the address of the buffer on
  the Python level, see

  http://tinyurl.com/3h79

  Using /dev/poll on Solaris requires a way to create a struct whose
  address you know.

- There must be a Python-level API to obtain a locked buffer.

- How will string objects implement that interface? In particular,
  what prevents the refcount of the string dropping to zero?

Regards,
Martin



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