[pypy-dev] call_function

Ben.Young at risk.sungard.com Ben.Young at risk.sungard.com
Fri Dec 16 14:19:00 CET 2005


Hi All,

I was having a quick look at how function calling is implemented in PyPy 
and I can't seem to understand why the CALL_FUNCTION opcode and the space 
call_function method seem to do duplicate things. 

Whay doesn't CALL_FUNCTION just pop oparg items off the stack and call the 
space call_function? It doesn't seem like the functionality would be any 
different as the varargs cases are handled differently anyway?

Cheers,
Ben



More information about the Pypy-dev mailing list