[Python-Dev] Some news from my sandbox project

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Sep 19 01:05:45 CEST 2010


Victor Stinner wrote:

> Eg. one of the most important function of pysandbox is 
> proxy() (a function to create a read only view of a object outside  the 
> sandbox, especially on an import), if you replace isinstance() by a function 
> which always return True: you can get unmodified objects

I don't follow. Trusted functions such as proxy() shouldn't
be sharing a __builtins__ dict with sandboxed code.

-- 
Greg


More information about the Python-Dev mailing list