[pypy-commit] pypy default: Crash with a fatal warning when trying to translate PyPy with --sandbox.
arigo
pypy.commits at gmail.com
Sat Apr 22 17:48:01 EDT 2017
Author: Armin Rigo <arigo at 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:
More information about the pypy-commit
mailing list