Issue #11134: Add missing fields to typeslots.h.

Reviewed by Georg Brandl.
This commit is contained in:
Martin v. Löwis 2011-02-11 20:50:24 +00:00
parent 6916806443
commit cc7e23ac15
3 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -10,6 +10,8 @@ What's New in Python 3.2?
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

View File

@ -70,3 +70,6 @@ offsetof(PyHeapTypeObject, ht_type.tp_setattr),
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),