Name rebinding
Moshe Zadka
moshez at math.huji.ac.il
Fri Mar 17 10:19:20 EST 2000
On Thu, 16 Mar 2000 ccg at mudprovider.com wrote:
> I'm trying to set up an in-game scripting language using python - but the
> game itself is also in python. Is there any way I can prevent the scripts
> from being able to rebind non-script variables/functions/methods/classes
> while still allowing them access to at least a sub-set of the non-script
> code? Here's a simple example of what I'm talking about:
Read about "rexec" and "Bastion"
--
Moshe Zadka <mzadka at geocities.com>.
http://www.oreilly.com/news/prescod_0300.html
http://www.linux.org.il -- we put the penguin in .com
More information about the Python-list
mailing list