PyEval_EvalFrame
Tim Peters
tim.peters at gmail.com
Thu Apr 27 13:28:18 EDT 2006
[bretthall at gmail.com]
> I see a C/python program that we're using spending a lot of time in
> this function, far more than we think it should. What is it?
PyEval_EvalFrame is the heart of the CPython interpreter: it's a very
large function that _implements_ the interpreter, marching through the
byte codes and executing them. You can't run Python code at all
without it.
> Thanks in advance! There seems to be nothing (but a bunch of stack
> traces) when I google this.
It's rarely called directly, but is called indirectly by everything
that runs Python code.
More information about the Python-list
mailing list