After Parrot, what next?

Michael Hudson mwh21 at cam.ac.uk
Wed Apr 18 15:08:41 EDT 2001


"Andrew Dalke" <dalke at acm.org> writes:

> Mark 'Kamikaze' Hughes wrote:
> >In Python
> >programs, there's already a perfectly functional parser, so you can
> >re-use that as the scripting language, if you can trust the user to
> >write safe code.  If you need a sandbox, OTOH, you have to write another
> >language, and you're back to the need for a parser.
> 
> Sometimes rexec is good enough,
>   http://python.sourceforge.net/devel-docs/lib/module-rexec.html
> 
> Doesn't prevent certain types of denial-of-service attacks.

There's PythonMethods in zope for that.  I guess they'd be adaptable
to other needs.

Cheers,
M.

-- 
  You owe The Oracle a TV with an 'intelligence' control - I've tried
  'brightness' but that didn't work.
                                      -- Internet Oracularity #1192-01



More information about the Python-list mailing list