Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed build with python-3.13 (#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 <[email protected]>
- Loading branch information