Message 102041 - Python tracker (original) (raw)
Antoine Pitrou wrote:
Antoine Pitrou <pitrou@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.