mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Assorted patches from Armin Rigo:
[ 617309 ] getframe hook (Psyco #1) [ 617311 ] Tiny profiling info (Psyco #2) [ 617312 ] debugger-controlled jumps (Psyco #3) These are forward ports from 2.2.2.
This commit is contained in:
parent
1f04610b49
commit
019a78e76d
4 changed files with 65 additions and 43 deletions
|
@ -304,7 +304,7 @@ call_with_frame(PyCodeObject *c, PyObject* func, PyObject* args)
|
|||
f = PyFrame_New(
|
||||
tstate, /*back*/
|
||||
c, /*code*/
|
||||
tstate->frame->f_globals, /*globals*/
|
||||
PyEval_GetGlobals(), /*globals*/
|
||||
NULL /*locals*/
|
||||
);
|
||||
if (f == NULL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue