Last-Update: 2020-02-20
Forwarded: no
Bug-Debian: https://bugs.debian.org/951707
Python 3.8 changes the type of an element of the PyTypeObject struct
(https://www.python.org/dev/peps/pep-0590/) leading to compiler errors.
Gbp-Pq: Name python3.8-compat.patch
sizeof(T), // tp_basicsize
0, // tp_itemsize
PythonDetail::Get_tp_dealloc<T>::value, // tp_dealloc
+#if PY_VERSION_HEX >= 0x03080000
+ 0, // tp_vectorcall_offset
+#else
nullptr, // tp_print
+#endif
nullptr, // tp_getattr
nullptr, // tp_setattr
nullptr, // tp_compare