summaryrefslogtreecommitdiffstats
path: root/Modules/pyexpat.c
diff options
context:
space:
mode:
authorJeremy Hylton <jeremy@alum.mit.edu>2001-01-25 20:07:56 (GMT)
committerJeremy Hylton <jeremy@alum.mit.edu>2001-01-25 20:07:56 (GMT)
commit903f654ac9116bc5c598c19b9e9c45f5ba9e1a7b (patch)
tree5742605c33f07c5747c24e31ef8ca90912700702 /Modules/pyexpat.c
parentf65e500594f935c642e2b8d6de44c9d530f1ec47 (diff)
downloadcpython-903f654ac9116bc5c598c19b9e9c45f5ba9e1a7b.zip
cpython-903f654ac9116bc5c598c19b9e9c45f5ba9e1a7b.tar.gz
cpython-903f654ac9116bc5c598c19b9e9c45f5ba9e1a7b.tar.bz2
PEP 227 implementation
Track changes to PyFrame_New() and PyFuntion_New().
Diffstat (limited to 'Modules/pyexpat.c')
-rw-r--r--Modules/pyexpat.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/Modules/pyexpat.c b/Modules/pyexpat.c
index cbe0a6e..6778a9c 100644
--- a/Modules/pyexpat.c
+++ b/Modules/pyexpat.c
@@ -257,6 +257,8 @@ getcode(enum HandlerTypes slot, char* func_name, int lineno)
nulltuple, /* consts */
nulltuple, /* names */
nulltuple, /* varnames */
+ nulltuple, /* freevars */
+ nulltuple, /* cellvars */
filename, /* filename */
name, /* name */
lineno, /* firstlineno */
@@ -288,7 +290,9 @@ call_with_frame(PyCodeObject *c, PyObject* func, PyObject* args)
tstate, /*back*/
c, /*code*/
tstate->frame->f_globals, /*globals*/
- NULL); /*locals*/
+ NULL, /*locals*/
+ 0,
+ NULL); /* closure */
if (f == NULL)
return NULL;
tstate->frame = f;