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

cfbolz noreply at buildbot.pypy.org
Sat Jul 16 00:12:59 CEST 2011


Author: Carl Friedrich Bolz <cfbolz at gmx.de>
Branch: faster-nested-scopes
Changeset: r45652:6202956627cc
Date: 2011-07-15 20:09 +0200
http://bitbucket.org/pypy/pypy/changeset/6202956627cc/

Log:	fix

diff --git a/pypy/interpreter/pyframe.py b/pypy/interpreter/pyframe.py
--- a/pypy/interpreter/pyframe.py
+++ b/pypy/interpreter/pyframe.py
@@ -384,7 +384,7 @@
         # XXX hack
         from pypy.interpreter.function import Function
         outer_func = Function(space, None, closure=closure,
-                             forcename="")
+                             forcename="fake")
         PyFrame.__init__(self, space, pycode, w_globals, outer_func)
         f_back = space.interp_w(PyFrame, w_f_back, can_be_None=True)
         new_frame.f_backref = jit.non_virtual_ref(f_back)


More information about the pypy-commit mailing list