[Python-checkins] r88401 - in python/branches/py3k: Include/typeslots.h Misc/NEWS Objects/typeslots.inc
martin.v.loewis
python-checkins at python.org
Fri Feb 11 21:50:24 CET 2011
Author: martin.v.loewis
Date: Fri Feb 11 21:50:24 2011
New Revision: 88401
Log:
Issue #11134: Add missing fields to typeslots.h.
Reviewed by Georg Brandl.
Modified:
python/branches/py3k/Include/typeslots.h
python/branches/py3k/Misc/NEWS
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 Fri Feb 11 21:50:24 2011
@@ -71,3 +71,6 @@
#define Py_tp_setattro 69
#define Py_tp_str 70
#define Py_tp_traverse 71
+#define Py_tp_members 72
+#define Py_tp_getset 73
+#define Py_tp_free 74
Modified: python/branches/py3k/Misc/NEWS
==============================================================================
--- python/branches/py3k/Misc/NEWS (original)
+++ python/branches/py3k/Misc/NEWS Fri Feb 11 21:50:24 2011
@@ -10,6 +10,8 @@
Core and Builtins
-----------------
+- Issue #11134: Add missing fields to typeslots.h.
+
- Issue #11135: Remove redundant doc field from PyType_Spec.
- Issue #11067: Add PyType_GetFlags, to support PyUnicode_Check
Modified: python/branches/py3k/Objects/typeslots.inc
==============================================================================
--- python/branches/py3k/Objects/typeslots.inc (original)
+++ python/branches/py3k/Objects/typeslots.inc Fri Feb 11 21:50:24 2011
@@ -70,3 +70,6 @@
offsetof(PyHeapTypeObject, ht_type.tp_setattro),
offsetof(PyHeapTypeObject, ht_type.tp_str),
offsetof(PyHeapTypeObject, ht_type.tp_traverse),
+offsetof(PyHeapTypeObject, ht_type.tp_members),
+offsetof(PyHeapTypeObject, ht_type.tp_getset),
+offsetof(PyHeapTypeObject, ht_type.tp_free),
More information about the Python-checkins
mailing list