I noticed that this issue has been discussed in this newsgroup periodically over the years and I seem to understand that - comprehensive- safe/restricted execution of untrusted code in python is currently quite hard to achieve.
What if the safety requirements are a little relaxed though? All I'd want to prevent is for the code opening/damaging files, formatting drives or similarly catastrophic exploits. I'm not particularly concerned if the application freeze or crashes. Nor if the application's objects are inspected and exploited. All I want is to make sure that if somebody uses my application plus a third party plugin for it, the worst that can happen is that they can't use my application with that plugin. Is that feasible? Thanks for your help! Manu -- http://mail.python.org/mailman/listinfo/python-list