Chris Withers wrote at 2007-11-20 23:55 +0000:
>Dieter Maurer wrote:
>> You execute their code in a "globals" the "__builtins__" of which
>> contains precisely the builtins you want to give them.
>
>unfortunately that still leaves the import problems, correct?

The "import" "command" is mapped to the "__import__" builtin.

Thus, changing the "__import__" builtin....



-- 
Dieter
_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to