Repository navigation
Commit cad5098
pyport.h uses _Py_STDC_VERSION to select _Py_thread_local, _Py_NULL and
_Py_TYPEOF, but the macro was defined in pymacro.h, which Python.h
includes after pyport.h. The C11 and C23 branches were therefore never
taken. Move the definition to pyport.h.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Sergey Miryanov <sergey.miryanov@gmail.com>
1 parent 22691a3 commit cad5098
2 files changed
Lines changed: 7 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | 4 | | |
12 | 5 | | |
13 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
11 | 18 | | |
12 | 19 | | |
13 | 20 | | |
| |||
0 commit comments