21 Nov
2007
21 Nov
'07
5:26 p.m.
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