[Python-checkins] r87808 - in python/branches/py3k: Include/typeslots.h Objects/typeslots.inc

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


Author: martin.v.loewis
Date: Thu Jan  6 20:28:31 2011
New Revision: 87808

Log:
Drop bf_getbuffer/bf_releasebuffer from stable ABI,
see #10181.


Modified:
   python/branches/py3k/Include/typeslots.h
   python/branches/py3k/Objects/typeslots.inc

Modified: python/branches/py3k/Include/typeslots.h
==============================================================================
--- python/branches/py3k/Include/typeslots.h	(original)
+++ python/branches/py3k/Include/typeslots.h	Thu Jan  6 20:28:31 2011
@@ -1,5 +1,7 @@
-#define Py_bf_getbuffer 1
-#define Py_bf_releasebuffer 2
+/* Do not renumber the file; these numbers are part of the stable ABI. */
+/* Disabled, see #10181 */
+#undef Py_bf_getbuffer
+#undef Py_bf_releasebuffer
 #define Py_mp_ass_subscript 3
 #define Py_mp_length 4
 #define Py_mp_subscript 5

Modified: python/branches/py3k/Objects/typeslots.inc
==============================================================================
--- python/branches/py3k/Objects/typeslots.inc	(original)
+++ python/branches/py3k/Objects/typeslots.inc	Thu Jan  6 20:28:31 2011
@@ -1,6 +1,6 @@
-/* Generated by typeslots.py $Revision: 87011 $ */
-offsetof(PyHeapTypeObject, as_buffer.bf_getbuffer),
-offsetof(PyHeapTypeObject, as_buffer.bf_releasebuffer),
+/* Generated by typeslots.py $Revision: 87806 $ */
+0,
+0,
 offsetof(PyHeapTypeObject, as_mapping.mp_ass_subscript),
 offsetof(PyHeapTypeObject, as_mapping.mp_length),
 offsetof(PyHeapTypeObject, as_mapping.mp_subscript),


More information about the Python-checkins mailing list