2 Commits

Author SHA1 Message Date
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