mirror of
https://github.com/pybind/pybind11.git
synced 2026-05-13 17:56:02 +00:00
The PyEval_InitThreads() and PyEval_ThreadsInitialized() functions are now deprecated and will be removed in Python 3.11. Calling PyEval_InitThreads() now does nothing. The GIL is initialized by Py_Initialize() since Python 3.7.