Closed danielcjacobs closed 1 year ago
This should be as easy as modifying this file for recent python versions: zcm/python/zcm-python.h
Pullreq to do this. Completely untested so I wont merge without confirmation it works. Don't have time to confirm right now. https://github.com/ZeroCM/zcm/pull/394
As of Python 3.9,
PyEval_InitThreads
is deprecated.Thus, when building via:
The following warning is printed:
This warning can be ignored by removing the
Werror
flag from here, but a more permanent solution would be to remove this function and just usePyInitialize()
as described in the [cython docs](https://cpython-ericholscher.readthedocs.io/en/sphinx-hoverxref/whatsnew/3.9.html#:~:text=The%20PyEval_InitThreads()%20and%20PyEval_ThreadsInitialized,Stinner%20in%20bpo%2D39877.)