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
1
2
#include "pyconfig.h" // Py_GIL_DISABLED
2
-
3
3
#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
6
5
#endif
7
6
8
7
// gh-85283: On Windows, Py_LIMITED_API requires Py_BUILD_CORE to not attempt
Original file line number Diff line number Diff line change 2
2
posixshmem - A Python extension that provides shm_open() and shm_unlink()
3
3
*/
4
4
5
+ // Need limited C API version 3.12 for Py_MOD_PER_INTERPRETER_GIL_SUPPORTED
5
6
#include "pyconfig.h" // Py_GIL_DISABLED
6
-
7
7
#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
10
9
#endif
11
10
12
11
#include <Python.h>
Original file line number Diff line number Diff line change 3
3
* using the SystemConfiguration framework.
4
4
*/
5
5
6
+ // Need limited C API version 3.12 for Py_MOD_PER_INTERPRETER_GIL_SUPPORTED
6
7
#include "pyconfig.h" // Py_GIL_DISABLED
7
-
8
8
#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
11
10
#endif
12
11
13
12
#include <Python.h>
Original file line number Diff line number Diff line change 11
11
*
12
12
*/
13
13
14
+ // Need limited C API version 3.13 for PyModule_Add() on Windows
14
15
#include "pyconfig.h" // Py_GIL_DISABLED
15
-
16
16
#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
19
18
#endif
20
19
21
20
#include "Python.h"
Original file line number Diff line number Diff line change 4
4
#undef Py_BUILD_CORE_MODULE
5
5
#undef Py_BUILD_CORE_BUILTIN
6
6
7
+ // For now, AC only supports the limited C API version 3.13
7
8
#include "pyconfig.h" // Py_GIL_DISABLED
8
-
9
9
#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
12
11
#endif
13
12
14
13
/* Always enable assertions */
Original file line number Diff line number Diff line change 5
5
*/
6
6
7
7
#include "pyconfig.h" // Py_GIL_DISABLED
8
-
9
8
#ifndef Py_GIL_DISABLED
10
- #define Py_LIMITED_API 0x03020000
9
+ # define Py_LIMITED_API 0x03020000
11
10
#endif
12
11
13
12
#include <Python.h>
Original file line number Diff line number Diff line change 3
3
* DCE compatible Universally Unique Identifier library.
4
4
*/
5
5
6
+ // Need limited C API version 3.12 for Py_MOD_PER_INTERPRETER_GIL_SUPPORTED
6
7
#include "pyconfig.h" // Py_GIL_DISABLED
7
-
8
8
#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
11
10
#endif
12
11
13
12
#include "Python.h"
Original file line number Diff line number Diff line change 1
1
/* Errno module */
2
2
3
+ // Need limited C API version 3.12 for Py_MOD_PER_INTERPRETER_GIL_SUPPORTED
3
4
#include "pyconfig.h" // Py_GIL_DISABLED
4
-
5
5
#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
8
7
#endif
9
8
10
9
#include "Python.h"
Original file line number Diff line number Diff line change
1
+ // Need limited C API version 3.13 for PySys_Audit()
1
2
#include "pyconfig.h" // Py_GIL_DISABLED
2
-
3
3
#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
6
5
#endif
7
6
8
7
#include "Python.h"
Original file line number Diff line number Diff line change 62
62
pass
63
63
*/
64
64
65
+ // Need limited C API version 3.12 for Py_MOD_PER_INTERPRETER_GIL_SUPPORTED
65
66
#include "pyconfig.h" // Py_GIL_DISABLED
66
-
67
67
#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
70
69
#endif
71
70
72
71
#include "Python.h"
You can’t perform that action at this time.
0 commit comments