470,581 Members | 2,438 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,581 developers. It's quick & easy.

PyEval_EvalFrame

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?

Thanks in advance! There seems to be nothing (but a bunch of stack
traces) when I google this.
Brett

Apr 27 '06 #1
1 1684
[br*******@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.
Apr 27 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

10 posts views Thread by Christopher T King | last post: by
5 posts views Thread by David Pokorny | last post: by
11 posts views Thread by David Pokorny | last post: by
reply views Thread by Skip Montanaro | last post: by
2 posts views Thread by Rolf Wester | last post: by
reply views Thread by Nancy | last post: by
1 post views Thread by Jonathan Amsterdam | last post: by
1 post views Thread by livre | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.