Author: Amaury Forgeot d'Arc <amaur...@gmail.com>
Branch: more-rposix
Changeset: r74380:3600a9d62002
Date: 2014-11-07 17:17 +0100
http://bitbucket.org/pypy/pypy/changeset/3600a9d62002/

Log:    Temporary workaround, should be done differently.

diff --git a/rpython/rlib/objectmodel.py b/rpython/rlib/objectmodel.py
--- a/rpython/rlib/objectmodel.py
+++ b/rpython/rlib/objectmodel.py
@@ -301,6 +301,8 @@
                 return ctx.appcall(func, *args_w)
         if sandboxed_name:
             func._sandbox_external_name = sandboxed_name
+            # XXX THIS IS NOT CORRECT. Only do this when config.sandbox.
+            func._dont_inline_ = True
         return func
     return wrap
 
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to