Embedding Python the extreme way

Gerhard Haering gerhard.haering at gmx.de
Wed Jul 10 08:58:59 EDT 2002


In article <3D2C2BEB.2040803 at darkstargames.de>, Wolfgang Draxinger wrote:
> Michael Hudson wrote:
>> For getting rid of builtin functions, why bother?
> Because some of them can mess up all.

Don't you provide the Python scripts yourself? If you want to expose your
app to users and you want to restrict what they can do with the
interpreter, you can check out the rexec and Bastion modules.

Basically forking the Python source sounds like overkill.

Gerhard
-- 
mail:   gerhard <at> bigfoot <dot> de       registered Linux user #64239
web:    http://www.cs.fhm.edu/~ifw00065/    OpenPGP public key id 86AB43C0
public key fingerprint: DEC1 1D02 5743 1159 CD20  A4B6 7B22 6575 86AB 43C0
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))



More information about the Python-list mailing list