add Py_tp_finalize slot (closes #24345)

Patch from Petr Viktorin.
This commit is contained in:
Benjamin Peterson 2015-06-01 10:12:48 -05:00
parent 55a57b0766
commit 0969a9f8ab
3 changed files with 4 additions and 0 deletions

View File

@ -79,3 +79,4 @@
#define Py_am_await 77 #define Py_am_await 77
#define Py_am_aiter 78 #define Py_am_aiter 78
#define Py_am_anext 79 #define Py_am_anext 79
#define Py_tp_finalize 80

View File

@ -10,6 +10,8 @@ Release date: 2015-07-05
Core and Builtins Core and Builtins
----------------- -----------------
- Issue #24345: Add Py_tp_finalize slot for the stable ABI.
Library Library
------- -------

View File

@ -78,3 +78,4 @@ offsetof(PyHeapTypeObject, as_number.nb_inplace_matrix_multiply),
offsetof(PyHeapTypeObject, as_async.am_await), offsetof(PyHeapTypeObject, as_async.am_await),
offsetof(PyHeapTypeObject, as_async.am_aiter), offsetof(PyHeapTypeObject, as_async.am_aiter),
offsetof(PyHeapTypeObject, as_async.am_anext), offsetof(PyHeapTypeObject, as_async.am_anext),
offsetof(PyHeapTypeObject, ht_type.tp_finalize),