Ant wrote: > So how do python app's typically embed python? For example things like > Zope and idle are scripted using Python - presumably they restrict the > execution of the scripts to a restricted set of modules/objects - but > how is this done?
why? anyone capable of adding code to idle already has access to everything that code can access... > Perhaps idle doesn't require safety from untrusted code, but surely > Zope does. So there must be some way of executing arbitrary untrusted > code in an app within some kind of sandbox... afaik, zope uses a custom parser. </F> -- http://mail.python.org/mailman/listinfo/python-list