[EMAIL PROTECTED] wrote:
>
> Is anyone aware of a more functional but still untrusted python?
Given that you've looked into Zope 3's security/proxy mechanisms, have
you also looked at mxProxy?
http://www.egenix.com/files/python/mxProxy.html
Paul
--
http://mail.python.org/mailman/listinfo/pytho
It looks like untrustedinterpreter has at least two major obstacles to
executing reasonably complex code:
augmented assignment is not supported:
a.b = 'foo'
is translated into
__getattr__(a,b) = 'foo'
Second, this is mysterious, but nevertheless...
"""This form of restricted Python assume
On Thu, 16 Feb 2006 07:59:03 -0800, Alex Martelli <[EMAIL PROTECTED]> wrote:
>Graham <[EMAIL PROTECTED]> wrote:
>
>> I've been messing around with trying to get a small sandbox like
>> environment where i could execute python code in a "safe" way.
>> Basically what the old restricted execution modu
Jean-Paul Calderone wrote:
> On Thu, 16 Feb 2006 07:59:03 -0800, Alex Martelli <[EMAIL PROTECTED]> wrote:
> >Graham <[EMAIL PROTECTED]> wrote:
> >
> >> I've been messing around with trying to get a small sandbox like
> >> environment where i could execute python code in a "safe" way.
> >> Basicall
Graham <[EMAIL PROTECTED]> wrote:
> I've been messing around with trying to get a small sandbox like
> environment where i could execute python code in a "safe" way.
> Basically what the old restricted execution module attempted to do.
> I've written a small amount of code to get custom interprete
"Graham" <[EMAIL PROTECTED]> writes:
> I've been messing around with trying to get a small sandbox like
> environment where i could execute python code in a "safe" way.
> Basically what the old restricted execution module attempted to do.
The old rexec module was removed for the precise reason tha
Graham wrote:
> The way i'm controlling functionality is with some games and exec, so
> if 'code' was the text code you wanted to execute i run:
>
> exec code in {'__builtins__':None"}
>
> obviously this doesn't give you much to play with, but it does remove
> file access and importing as far as
Graham wrote:
> I've been messing around with trying to get a small sandbox like
> environment where i could execute python code in a "safe" way.
> Basically what the old restricted execution module attempted to do.
> I've written a small amount of code to get custom interpreter running,
> but i'm
I've been messing around with trying to get a small sandbox like
environment where i could execute python code in a "safe" way.
Basically what the old restricted execution module attempted to do.
I've written a small amount of code to get custom interpreter running,
but i'm not really sure if its s