[Python-Dev] pysandsox project

2010-02-15 Thread Victor Stinner
Hi, I'm working on a new sandbox project. The goal is to create an empty namespace and write strict rules for the interaction with the existing namespace (full featured Python namespace). By default, you cannot read a file, use print, import a module or exit Python. But you can enable some

Re: [Python-Dev] pysandsox project

2010-02-15 Thread Hanno Schlichting
On Mon, Feb 15, 2010 at 6:11 PM, Victor Stinner victor.stin...@haypocalc.com wrote: pysandbox is based on safelite.py, project written by tav one year ago (search tav in python-dev archive, February 2009). I tested RestrictedPython, but the approach is different (rewrite bytecode) and the