[Python-checkins] r42333 - peps/trunk/pep-0353.txt

martin.v.loewis python-checkins at python.org
Sun Feb 12 10:36:54 CET 2006


Author: martin.v.loewis
Date: Sun Feb 12 10:36:52 2006
New Revision: 42333

Modified:
   peps/trunk/pep-0353.txt
Log:
Mention changes to the buffer interface.


Modified: peps/trunk/pep-0353.txt
==============================================================================
--- peps/trunk/pep-0353.txt	(original)
+++ peps/trunk/pep-0353.txt	Sun Feb 12 10:36:52 2006
@@ -58,7 +58,8 @@
 use Py_ssize_t, affecting all extension modules that use that macro.
 
 All occurrences of index and length parameters and results are changed
-to use Py_ssize_t, including the sequence slots in type objects.
+to use Py_ssize_t, including the sequence slots in type objects, and
+the buffer interface.
 
 New conversion functions PyInt_FromSsize_t and PyInt_AsSsize_t, are
 introduced. PyInt_FromSsize_t will transparently return a long int
@@ -66,7 +67,9 @@
 transparently process long int objects.
 
 New function pointer typedefs ssizeargfunc, ssizessizeargfunc,
-ssizeobjargproc, and ssizessizeobjargproc are introduced.
+ssizeobjargproc, and ssizessizeobjargproc are introduced. The
+buffer interface function types are now called readbufferproc,
+writebufferproc, segcountproc, and charbufferproc.
 
 A new conversion code 'n' is introduced for PyArg_ParseTuple
 and Py_BuildValue, which operates on Py_ssize_t.


More information about the Python-checkins mailing list