File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88#include "pyconfig.h" // Py_GIL_DISABLED
99
1010#ifdef Py_GIL_DISABLED
11- // FIXME: use the Py_TARGET_ABI3T
11+ // Cannot test the limited C API
1212#else
1313 // Use the oldest limited C API version
1414# define Py_LIMITED_API 0x03020000
Original file line number Diff line number Diff line change 11#include "pyconfig.h" // Py_GIL_DISABLED
22#ifdef Py_GIL_DISABLED
3- // FIXME: use the Py_TARGET_ABI3T
3+ // Cannot test the limited C API
44#else
55 // Need limited C API version 3.15 for _DuringGC functions
66# define Py_LIMITED_API 0x030f0000
Original file line number Diff line number Diff line change 88
99// Use the limited C API
1010#ifdef Py_GIL_DISABLED
11- // FIXME: use the Py_TARGET_ABI3T
11+ // Cannot test the limited C API
1212#elif !defined(Py_LIMITED_API )
1313 // Need limited C API version 3.5 for PyModule_AddFunctions()
1414# define Py_LIMITED_API 0x03050000
Original file line number Diff line number Diff line change 1- #include "pyconfig.h" // Py_GIL_DISABLED
2- #ifdef Py_GIL_DISABLED
3- # define Py_TARGET_ABI3T 0x030f0000
4- #else
5- // Need limited C API version 3.15 for PyType_FromSlots()
6- # define Py_LIMITED_API 0x030f0000
7- #endif
1+ // Need limited C API version 3.15 for PyType_FromSlots()
2+ #define Py_LIMITED_API 0x030f0000
83
94#include "parts.h"
105
Original file line number Diff line number Diff line change 22
33#include "pyconfig.h" // Py_GIL_DISABLED
44#ifdef Py_GIL_DISABLED
5- // FIXME: use the Py_TARGET_ABI3T
5+ // Cannot test the limited C API
66#else
77 // Need limited C API version 3.12 for PyObject_Vectorcall()
88# define Py_LIMITED_API 0x030c0000
You can’t perform that action at this time.
0 commit comments