Author: Armin Rigo <ar...@tunes.org>
Branch: 
Changeset: r91118:13ba684a8c50
Date: 2017-04-22 23:47 +0200
http://bitbucket.org/pypy/pypy/changeset/13ba684a8c50/

Log:    Crash with a fatal warning when trying to translate PyPy with
        --sandbox. People that really want to play with it can remove the
        "assert 0".

diff --git a/pypy/goal/targetpypystandalone.py 
b/pypy/goal/targetpypystandalone.py
--- a/pypy/goal/targetpypystandalone.py
+++ b/pypy/goal/targetpypystandalone.py
@@ -307,6 +307,9 @@
             config.translation.jit = True
 
         if config.translation.sandbox:
+            assert 0, ("--sandbox is not tested nor maintained.  If you "
+                       "really want to try it anyway, remove this line in "
+                       "pypy/goal/targetpypystandalone.py.")
             config.objspace.lonepycfiles = False
 
         if config.objspace.usemodules.cpyext:
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to