[issue8276] useless PyEval_CallObject function

Marc-Andre Lemburg report at bugs.python.org
Thu Apr 1 00:20:50 CEST 2010


Marc-Andre Lemburg <mal at egenix.com> added the comment:

Antoine Pitrou wrote:
> 
> Antoine Pitrou <pitrou at free.fr> added the comment:
> 
> The #define dates back from 2007, this changeset:
> 
> branch:      trunk
> user:        guido
> date:        Sat Aug 30 17:02:50 1997 +0200
> files:       Include/ceval.h Python/ceval.c
> description:
> [svn r8683] Inline PyObject_CallObject (Marc-Andre Lemburg).

That's not useless: it's a typical backwards compatibility macro
to auto-upgrade existing software via recompile.

It's also still used a lot in the Python source code and elsewhere:

http://www.google.de/search?q=PyEval_CallObject

The function PyEval_CallObject() can probably be removed by
now, though.

----------

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


More information about the Python-bugs-list mailing list