Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r83950:1921e21b5b4b
Date: 2016-04-26 20:08 -0700
http://bitbucket.org/pypy/pypy/changeset/1921e21b5b4b/

Log:    fix exec from @hidden_applevel functions

diff --git a/pypy/module/__builtin__/compiling.py 
b/pypy/module/__builtin__/compiling.py
--- a/pypy/module/__builtin__/compiling.py
+++ b/pypy/module/__builtin__/compiling.py
@@ -90,7 +90,7 @@
     return code.exec_code(space, w_globals, w_locals)
 
 def exec_(space, w_prog, w_globals=None, w_locals=None):
-    frame = space.getexecutioncontext().gettopframe_nohidden()
+    frame = space.getexecutioncontext().gettopframe()
     frame.exec_(w_prog, w_globals, w_locals)
 
 def build_class(space, w_func, w_name, __args__):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to