- 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.
For script authors this means:
- no more exceptions (try..except)
- no more unsafe builtins (eval, file, type, ...)
- no more import (some whitelisted modules are auto-imported currently)
- no more access to internals (e.g. __dict__, __name__, ...)
The campaign server for now still doesn't allow .py scripts, but
likely this restriction can be removed.