From ada319bb6d0ebcc68d3e0ef2b4279ea061877ac8 Mon Sep 17 00:00:00 2001 From: Antoine Pitrou Date: Wed, 29 May 2019 22:12:38 +0200 Subject: bpo-32388: Remove cross-version binary compatibility requirement in tp_flags (GH-4944) It is now allowed to add new fields at the end of the PyTypeObject struct without having to allocate a dedicated compatibility flag in tp_flags. This will reduce the risk of running out of bits in the 32-bit tp_flags value. --- Modules/xxlimited.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Modules/xxlimited.c') diff --git a/Modules/xxlimited.c b/Modules/xxlimited.c index 190f9937d0..ffc04e0310 100644 --- a/Modules/xxlimited.c +++ b/Modules/xxlimited.c @@ -123,7 +123,7 @@ static PyType_Spec Xxo_Type_spec = { "xxlimited.Xxo", sizeof(XxoObject), 0, - Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC | Py_TPFLAGS_HAVE_FINALIZE, + Py_TPFLAGS_DEFAULT | Py_TPFLAGS_HAVE_GC, Xxo_Type_slots }; -- cgit v1.2.1