Commit Graph

5 Commits

Author SHA1 Message Date
Thomas Heller 7fadff7e8a Renamed everything from 'fixed buffer' to 'locked buffer'.
Recommandations on how to implement the interface.
2002-08-01 18:24:06 +00:00
Thomas Heller 419b7d99fb The model exposed by the fixed buffer interface was changed:
Retrieving a buffer from an object puts this in a locked state, and a
releasebuffer function must be called to unlock the object again.

Added releasefixedbuffer function slot, and renamed the
get...fixedbuffer functions to acquire...fixedbuffer functions.

Renamed the flag from Py_TPFLAG_HAVE_GETFIXEDBUFFER to
Py_TPFLAG_HAVE_FIXEDBUFFER. (Is the 'fixed buffer' name still useful,
or should we use 'static buffer' instead?)

Added posting date (was posted to c.l.p and python-dev).
2002-07-31 18:48:36 +00:00
Thomas Heller a9f5ad2c5b Oops, forgotten words. 2002-07-30 16:52:53 +00:00
Thomas Heller 10d37607c9 Rename the 'safe buffer interface' to 'fixed buffer interface',
and give Scott Gilert credit for it.

Change the author line to the new style.
Small other changes.

Barry, can you run pep2html on it, and change the PEP index to the new
name?
2002-07-30 16:41:04 +00:00
Barry Warsaw 135eff8437 PEP 298, The Safe Buffer Interface, Heller 2002-07-29 18:22:09 +00:00