]> granicus.if.org Git - python/commit
Remove much dead code from ceval.c
authorJeremy Hylton <jeremy@alum.mit.edu>
Sun, 12 Aug 2001 21:52:24 +0000 (21:52 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Sun, 12 Aug 2001 21:52:24 +0000 (21:52 +0000)
commit910d7d46dce571fa81428718e9be5307a56adeee
tree0472ada0f5df1fcfff28efb22e2011dec2834e37
parentf65b1a175f0c9ddb662c1ee7fd4b45d8824c900c
Remove much dead code from ceval.c

The descr changes moved the dispatch for calling objects from
call_object() in ceval.c to PyObject_Call() in abstract.c.
call_object() and the many functions it used in ceval.c were no longer
used, but were not removed.

Rename meth_call() as PyCFunction_Call() so that it can be called by
the CALL_FUNCTION opcode in ceval.c.

Also, fix error message that referred to PyEval_EvalCodeEx() by its
old name eval_code2().  (I'll probably refer to it by its old name,
too.)
Include/methodobject.h
Objects/methodobject.c
Python/ceval.c