[pypy-commit] pypy faster-nested-scopes: fix cpyext

cfbolz noreply at buildbot.pypy.org
Sat Jul 16 11:50:01 CEST 2011


Author: Carl Friedrich Bolz <cfbolz at gmx.de>
Branch: faster-nested-scopes
Changeset: r45659:5994465ca0d0
Date: 2011-07-16 11:49 +0200
http://bitbucket.org/pypy/pypy/changeset/5994465ca0d0/

Log:	fix cpyext

diff --git a/pypy/module/cpyext/frameobject.py b/pypy/module/cpyext/frameobject.py
--- a/pypy/module/cpyext/frameobject.py
+++ b/pypy/module/cpyext/frameobject.py
@@ -57,7 +57,7 @@
     code = space.interp_w(PyCode, w_code)
     w_globals = from_ref(space, py_frame.c_f_globals)
 
-    frame = PyFrame(space, code, w_globals, closure=None)
+    frame = PyFrame(space, code, w_globals, outer_func=None)
     frame.f_lineno = py_frame.c_f_lineno
     w_obj = space.wrap(frame)
     track_reference(space, py_obj, w_obj)


More information about the pypy-commit mailing list