[Tutor] exec, execfile, rexec

Terry Carroll carroll at tjc.com
Tue Feb 14 21:15:46 CET 2006


On Tue, 14 Feb 2006, Kent Johnson wrote:

> Bottom line - it's a very hard problem which I don't think anyone has 
> solved to the satisfaction of all observers, though there are limited 
> solutions which some people find acceptable.

I think it's telling that the restricted execution modules, rexex and
Bastion, became disabled as of python 2.3; that gives an indication of how
difficult a problem it is to fix.

http://www.python.org/doc/lib/restricted.html



More information about the Tutor mailing list