Release python global interpreter lock when running c++ codecyberbotics/webots#3104 Merged dzenanzmentioned this issueApr 6, 2022 PyEval_InitThreads is deprecated in Python 3.9InsightSoftwareConsortium/ITK#3364 Closed andre-caldasmentioned this issueOct 4, 2024 ...
PyEval_InitThreads is unecessary in py37+ and is deprecated in py39 9a730b0 marcelotduarte merged commit d7a9224 into main May 27, 2021 marcelotduarte deleted the service3 branch May 27, 2021 06:26 Sign up for free to join this conversation on GitHub. Already have an account? Sign...
According tohttps://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 re...
Since 3.7,PyEval_ThreadsInitialized()always returns non-zero and callingPyEval_InitThreads()is useless:Py_Initialize()now always creates the GIL. These functions were deprecated in Python 3.9 by PR#18892(commitb4698ec) of issue#84058. What's New in Python 3.9: * The :c:func:`PyEval_InitThr...