summaryrefslogtreecommitdiffstats
path: root/Modules/pyexpat.c
diff options
context:
space:
mode:
authorMichael W. Hudson <mwh@python.net>2002-11-08 12:53:11 (GMT)
committerMichael W. Hudson <mwh@python.net>2002-11-08 12:53:11 (GMT)
commit019a78e76d3542d4d56a08015e6980f8c8aeaba1 (patch)
tree33e0d463374c7f48218a94738d7e964d4e5f0a46 /Modules/pyexpat.c
parent1f04610b497c733189212386152219040e18dacb (diff)
downloadcpython-019a78e76d3542d4d56a08015e6980f8c8aeaba1.zip
cpython-019a78e76d3542d4d56a08015e6980f8c8aeaba1.tar.gz
cpython-019a78e76d3542d4d56a08015e6980f8c8aeaba1.tar.bz2
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.
Diffstat (limited to 'Modules/pyexpat.c')
-rw-r--r--Modules/pyexpat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c
index 2009b22..f74751b 100644
--- a/Modules/pyexpat.c
+++ b/Modules/pyexpat.c
@@ -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)