[Python-checkins] r87809 - peps/trunk/pep-0384.txt

martin.v.loewis python-checkins at python.org
Thu Jan 6 20:33:28 CET 2011


Author: martin.v.loewis
Date: Thu Jan  6 20:33:28 2011
New Revision: 87809

Log:
Issue #10181: remove buffer interface from ABI.


Modified:
   peps/trunk/pep-0384.txt

Modified: peps/trunk/pep-0384.txt
==============================================================================
--- peps/trunk/pep-0384.txt	(original)
+++ peps/trunk/pep-0384.txt	Thu Jan  6 20:33:28 2011
@@ -99,8 +99,6 @@
 
 - PyObject (ob_refcnt, ob_type)
 - PyVarObject (ob_base, ob_size)
-- Py_buffer (buf, obj, len, itemsize, readonly, ndim, shape,
-  strides, suboffsets, smalltable, internal)
 - PyMethodDef (ml_name, ml_meth, ml_flags, ml_doc)
 - PyMemberDef (name, type, offset, flags, doc)
 - PyGetSetDef (name, get, set, doc, closure)
@@ -177,7 +175,6 @@
 - sq_length sq_concat sq_repeat sq_item sq_ass_item
   sq_contains sq_inplace_concat sq_inplace_repeat
 - mp_length mp_subscript mp_ass_subscript
-- bf_getbuffer bf_releasebuffer
 
 The following fields cannot be set during type definition:
 - tp_dict tp_mro tp_cache tp_subclasses tp_weaklist tp_print
@@ -194,7 +191,7 @@
 - Py_uintptr_t Py_intptr_t Py_ssize_t
 - unaryfunc binaryfunc ternaryfunc inquiry lenfunc ssizeargfunc
   ssizessizeargfunc ssizeobjargproc ssizessizeobjargproc objobjargproc
-  getbufferproc releasebufferproc objobjproc visitproc traverseproc
+  objobjproc visitproc traverseproc
   destructor getattrfunc getattrofunc setattrfunc setattrofunc reprfunc
   hashfunc richcmpfunc getiterfunc iternextfunc descrgetfunc
   descrsetfunc initproc newfunc allocfunc
@@ -312,6 +309,14 @@
 - Py_BEGIN_ALLOW_THREADS, Py_BLOCK_THREADS, Py_UNBLOCK_THREADS,
   Py_END_ALLOW_THREADS
 
+The Buffer Interface
+--------------------
+
+The buffer interface (type Py_buffer, type slots bf_getbuffer and
+bf_releasebuffer, etc) has been omitted from the ABI, since the stability
+of the Py_buffer structure is not clear at this time. Inclusion in the
+ABI can be considered in future releases.
+
 Signature Changes
 -----------------
 


More information about the Python-checkins mailing list