Repository navigation
Commit aeea6c0
Fixed build with python-3.13 (jopohl#1111)
According to https://docs.python.org/3.13/whatsnew/3.13.html:
Remove PyEval_InitThreads() and PyEval_ThreadsInitialized() functions, deprecated in Python 3.9.
Since Python 3.7, Py_Initialize() always creates the GIL:
calling PyEval_InitThreads() did nothing and PyEval_ThreadsInitialized() always returned non-zero.
(Contributed by Victor Stinner in python/cpython#105182.)
If support for < python-3.7 is required, conditionals have to be added
Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>1 parent 1f81cc2 commit aeea6c0
1 file changed
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | 10 | | |
14 | 11 | | |
15 | 12 | | |
| |||
81 | 78 | | |
82 | 79 | | |
83 | 80 | | |
84 | | - | |
85 | 81 | | |
86 | 82 | | |
87 | 83 | | |
| |||
0 commit comments