warning: ‘PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)’ is deprecated
Building against Python 3.9.5 produces this warning diagnostic
/…/octave-pythonic/src/oct-py-eval.cc: In function ‘PyObject* pythonic::py_call_function(PyObject*, PyObject*, PyObject*)’:
/…/octave-pythonic/src/oct-py-eval.cc:87:81: warning: ‘PyObject* PyEval_CallObjectWithKeywords(PyObject*, PyObject*, PyObject*)’ is deprecated [-Wdeprecated-declarations]
87 | python_object retval = PyEval_CallObjectWithKeywords (callable, args, kwargs);
| ^
In file included from /usr/include/python3.9/Python.h:145,
from /…/octave-pythonic/src/oct-py-eval.cc:29:
/usr/include/python3.9/ceval.h:17:43: note: declared here
17 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~