boostorg / python

Boost.org python module
http://boostorg.github.io/python
Boost Software License 1.0
472 stars 201 forks source link

Python 3.9 deprecated API calls in use #319

Closed jcpunk closed 4 years ago

jcpunk commented 4 years ago

Per the Python 3.9 release notes[1], PyEval_CallFunction is deprecated

I believe PyObject_CallFunction is the preferred replacement[2].

[1] https://docs.python.org/3/whatsnew/3.9.html#deprecated

[2] https://docs.python.org/3/c-api/call.html?highlight=pyobject_callfunction#c.PyObject_CallFunction