Using pypy sandboxing with Python 3.x

Hi team, I came across the PyPy documentation at https://doc.pypy.org/en/latest/sandbox.html and was particularly interested in trying out the sandboxing feature. However, the documentation seems to be old and probably works for python2.x. I downloaded PyPy 3.8 from https://www.pypy.org/download.html for Linux x86 64 bit. Is sandboxing available here ? If yes, how can one use it ? Regards, Sidrah.

On 2/2/23 13:27, Sidrah Sayyad wrote:
Did you see the warning at the top of the page? "This describes the old, unmaintained version. A new version is in progress in the |sandbox-2| and |py3.6-sandbox-2| branches and in the sandboxlib <https://foss.heptapod.net/pypy/sandboxlib> repo. Please see its description here: https://mail.python.org/pipermail/pypy-dev/2019-August/015797.html <https://mail.python.org/pipermail/pypy-dev/2019-August/015797.html> Also note that python 3.7+ requires the _thread module, which may be a consideration in escaping the sandbox." Matti

On 2/2/23 13:27, Sidrah Sayyad wrote:
Did you see the warning at the top of the page? "This describes the old, unmaintained version. A new version is in progress in the |sandbox-2| and |py3.6-sandbox-2| branches and in the sandboxlib <https://foss.heptapod.net/pypy/sandboxlib> repo. Please see its description here: https://mail.python.org/pipermail/pypy-dev/2019-August/015797.html <https://mail.python.org/pipermail/pypy-dev/2019-August/015797.html> Also note that python 3.7+ requires the _thread module, which may be a consideration in escaping the sandbox." Matti
participants (2)
-
Matti Picus
-
Sidrah Sayyad