[issue11165] Document PyEval_Call* functions

Marc-Andre Lemburg report at bugs.python.org
Tue Feb 14 05:03:38 EST 2017


Marc-Andre Lemburg added the comment:

The PyEval_Call*() APIs indeed predate the PyObject_Call*() ones. The PyObject_Call*() APIs came into existence when the abstract layer was added in Python 1.3.

The PyObject_Call*() APIs lacked a way to call an object with keyword arguments for a long time. I guess that's what most people continued to use the PyEval_Call*() ones. The latter also provide better protection against wrong parameters. The interpreter itself used them interchangeably.

----------
nosy: +lemburg

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11165>
_______________________________________


More information about the Python-bugs-list mailing list