Commit 7d92b8c
python_3.13: use Py_(Is)Initialize(d) instead of (Is)PyEval_InitThreads
See:
https://docs.python.org/3.9/c-api/init.html#c.PyEval_ThreadsInitialized
```
Returns a non-zero value if PyEval_InitThreads() has been called. This
function can be called without holding the GIL, and therefore can be
used to avoid calls to the locking API when running single-threaded.
Changed in version 3.7: The GIL is now initialized by Py_Initialize().
Deprecated since version 3.9, will be removed in version 3.11.
```1 parent 2ad91a4 commit 7d92b8c
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
0 commit comments