[PyPy-issue] [issue642] 64bit sandboxes with jit fail during startup

Armin Rigo pypy-dev-issue at codespeak.net
Fri Feb 25 01:48:04 CET 2011

Armin Rigo <armin.rigo at gmail.com> added the comment:

In that case, you might be better off building such disincentives in pure
Python; for example, you control the "import" statement by changing
__builtin__.__import__(), you try to hide __builtin__.open() and
__builtin__.file(), and so on.  I'm sure there are plenty of examples of such
code out there, and you can test it on both CPython and PyPy.  And a
pypy-sandbox, which attempts to be fully safe, will never be as fast as a
regular pypy, for the reasons I mentioned.

PyPy development tracker <pypy-dev-issue at codespeak.net>

More information about the Pypy-issue mailing list