File tree Expand file tree Collapse file tree 13 files changed +26
-36
lines changed Expand file tree Collapse file tree 13 files changed +26
-36
lines changed Original file line number Diff line number Diff line change 1+ // Need limited C API version 3.12 for Py_MOD_PER_INTERPRETER_GIL_SUPPORTED
12#include "pyconfig.h" // Py_GIL_DISABLED
2-
33#ifndef Py_GIL_DISABLED
4- // Need limited C API version 3.12 for Py_MOD_PER_INTERPRETER_GIL_SUPPORTED
5- #define Py_LIMITED_API 0x030c0000
4+ # define Py_LIMITED_API 0x030c0000
65#endif
76
87// gh-85283: On Windows, Py_LIMITED_API requires Py_BUILD_CORE to not attempt
Original file line number Diff line number Diff line change 22posixshmem - A Python extension that provides shm_open() and shm_unlink()
33*/
44
5+ // Need limited C API version 3.12 for Py_MOD_PER_INTERPRETER_GIL_SUPPORTED
56#include "pyconfig.h" // Py_GIL_DISABLED
6-
77#ifndef Py_GIL_DISABLED
8- // Need limited C API version 3.12 for Py_MOD_PER_INTERPRETER_GIL_SUPPORTED
9- #define Py_LIMITED_API 0x030c0000
8+ # define Py_LIMITED_API 0x030c0000
109#endif
1110
1211#include <Python.h>
Original file line number Diff line number Diff line change 33 * using the SystemConfiguration framework.
44 */
55
6+ // Need limited C API version 3.12 for Py_MOD_PER_INTERPRETER_GIL_SUPPORTED
67#include "pyconfig.h" // Py_GIL_DISABLED
7-
88#ifndef Py_GIL_DISABLED
9- // Need limited C API version 3.12 for Py_MOD_PER_INTERPRETER_GIL_SUPPORTED
10- #define Py_LIMITED_API 0x030c0000
9+ # define Py_LIMITED_API 0x030c0000
1110#endif
1211
1312#include <Python.h>
Original file line number Diff line number Diff line change 1111 *
1212 */
1313
14+ // Need limited C API version 3.13 for PyModule_Add() on Windows
1415#include "pyconfig.h" // Py_GIL_DISABLED
15-
1616#ifndef Py_GIL_DISABLED
17- // Need limited C API version 3.13 for PyModule_Add() on Windows
18- #define Py_LIMITED_API 0x030d0000
17+ # define Py_LIMITED_API 0x030d0000
1918#endif
2019
2120#include "Python.h"
Original file line number Diff line number Diff line change 44#undef Py_BUILD_CORE_MODULE
55#undef Py_BUILD_CORE_BUILTIN
66
7+ // For now, AC only supports the limited C API version 3.13
78#include "pyconfig.h" // Py_GIL_DISABLED
8-
99#ifndef Py_GIL_DISABLED
10- // For now, only limited C API 3.13 is supported
11- #define Py_LIMITED_API 0x030d0000
10+ # define Py_LIMITED_API 0x030d0000
1211#endif
1312
1413/* Always enable assertions */
Original file line number Diff line number Diff line change 55 */
66
77#include "pyconfig.h" // Py_GIL_DISABLED
8-
98#ifndef Py_GIL_DISABLED
10- #define Py_LIMITED_API 0x03020000
9+ # define Py_LIMITED_API 0x03020000
1110#endif
1211
1312#include <Python.h>
Original file line number Diff line number Diff line change 33 * DCE compatible Universally Unique Identifier library.
44 */
55
6+ // Need limited C API version 3.12 for Py_MOD_PER_INTERPRETER_GIL_SUPPORTED
67#include "pyconfig.h" // Py_GIL_DISABLED
7-
88#ifndef Py_GIL_DISABLED
9- // Need limited C API version 3.12 for Py_MOD_PER_INTERPRETER_GIL_SUPPORTED
10- #define Py_LIMITED_API 0x030c0000
9+ # define Py_LIMITED_API 0x030c0000
1110#endif
1211
1312#include "Python.h"
Original file line number Diff line number Diff line change 11/* Errno module */
22
3+ // Need limited C API version 3.12 for Py_MOD_PER_INTERPRETER_GIL_SUPPORTED
34#include "pyconfig.h" // Py_GIL_DISABLED
4-
55#ifndef Py_GIL_DISABLED
6- // Need limited C API version 3.12 for Py_MOD_PER_INTERPRETER_GIL_SUPPORTED
7- #define Py_LIMITED_API 0x030c0000
6+ # define Py_LIMITED_API 0x030c0000
87#endif
98
109#include "Python.h"
Original file line number Diff line number Diff line change 1+ // Need limited C API version 3.13 for PySys_Audit()
12#include "pyconfig.h" // Py_GIL_DISABLED
2-
33#ifndef Py_GIL_DISABLED
4- // Need limited C API version 3.13 for PySys_Audit()
5- #define Py_LIMITED_API 0x030d0000
4+ # define Py_LIMITED_API 0x030d0000
65#endif
76
87#include "Python.h"
Original file line number Diff line number Diff line change 6262 pass
6363 */
6464
65+ // Need limited C API version 3.12 for Py_MOD_PER_INTERPRETER_GIL_SUPPORTED
6566#include "pyconfig.h" // Py_GIL_DISABLED
66-
6767#ifndef Py_GIL_DISABLED
68- // Need limited C API version 3.12 for Py_MOD_PER_INTERPRETER_GIL_SUPPORTED
69- #define Py_LIMITED_API 0x030c0000
68+ # define Py_LIMITED_API 0x030c0000
7069#endif
7170
7271#include "Python.h"
You can’t perform that action at this time.
0 commit comments