Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.4k
Commit097c71b
committed
gh-85283: If Py_LIMITED_API is defined, undefine Py_BUILD_CORE
If the Py_LIMITED_API macro is defined, Py_BUILD_CORE,Py_BUILD_CORE_BUILTIN and Py_BUILD_CORE_MODULE macros are nowundefined by Python.h.Only undefine these 3 macros after including "exports.h" which usesthem to define PyAPI_FUNC(), PyAPI_DATA() and PyMODINIT_FUNC macros.Remove hacks (undefine manually the 3 Py_BUILD_CORE macros) inModules/_testcapi/parts.h and Modules/_testclinic_limited.c.1 parent01481f2 commit097c71b
File tree
5 files changed
+17
-22
lines changed- Doc/whatsnew
- Include
- Misc/NEWS.d/next/C API
- Modules
- _testcapi
5 files changed
+17
-22
lines changedLines changed: 5 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1075 | 1075 |
| |
1076 | 1076 |
| |
1077 | 1077 |
| |
| 1078 | + | |
| 1079 | + | |
| 1080 | + | |
| 1081 | + | |
| 1082 | + | |
1078 | 1083 |
| |
1079 | 1084 |
| |
1080 | 1085 |
| |
|
Lines changed: 9 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
51 |
| - | |
52 |
| - | |
53 |
| - | |
54 |
| - | |
55 | 51 |
| |
56 | 52 |
| |
57 | 53 |
| |
| |||
361 | 357 |
| |
362 | 358 |
| |
363 | 359 |
| |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
364 | 369 |
| |
365 | 370 |
| |
366 | 371 |
| |
|
Lines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + |
Lines changed: 0 additions & 12 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
8 |
| - | |
9 |
| - | |
10 |
| - | |
11 |
| - | |
12 |
| - | |
13 |
| - | |
14 |
| - | |
15 |
| - | |
16 |
| - | |
17 |
| - | |
18 |
| - | |
19 | 7 |
| |
20 | 8 |
| |
21 | 9 |
| |
|
Lines changed: 0 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
2 |
| - | |
3 |
| - | |
4 |
| - | |
5 |
| - | |
6 |
| - | |
7 | 1 |
| |
8 | 2 |
| |
9 | 3 |
| |
|
0 commit comments
Comments
(0)