4 Commits

Author SHA1 Message Date
Eric S. Raymond
a33933f2de Address bug #11034.
This looks safe to me, and now that we're early
in 1.5 we'll have time to notice and fix any problems it creates.
2008-03-04 18:14:20 +00:00
Elias Pschernig
6b08abbada Simplified whitelisting of python modules,
...and added information how to disable safe python
2007-11-16 16:07:45 +00:00
Elias Pschernig
32f4192601 Python: Fixed a bug with import,
and whitelisted wesnoth, random and heapq modules - so now all old
legal scripts should be working without change.
2007-03-29 09:06:56 +00:00
Elias Pschernig
37ec6e8aaf More work on the safe python AIs:
- Using safe.py from the given SVN repository, which is much cleaner,
  no more notes or tests.

- Added a preprocessor, as a way to allow a limited import again.

- Made runtime docs work again, with a --python-api switch instead of
  the previous AI hack.
2007-03-21 15:24:48 +00:00