On Dec 16, 10:24 am, Dan Fairs <[email protected]> wrote:
> > here the the print statement is modified to just return output to the
> > browser.  Also, variables surrounded by "{" "}" are returned to the
> > browser based on the variables in locals().  I'm still holding out
> > hope that there'll be a way to make eval safe or maybe figure out a
> > better alternative to allow scripting in the template.
>
> You're probably looking for something like RestrictedPython:
>
>    http://pypi.python.org/pypi/RestrictedPython/
>
> I'd personally avoid this, though and - er - just write a WSGI  
> application!
>
> Cheers,
> Dan
> --
> Dan Fairs <[email protected]> |http://www.fezconsulting.com/

yes, thanks, I was looking for something like this as a good
replacement for rexec.

-Walter
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/modwsgi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to