mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-13 21:59:52 +00:00

Has been added to safe.py. KeyboardInterrupt has been removed available exceptions. Exceptions can now be raised by user code. The list of allowed, builtin attributes has been expanded to include: __call__, __doc__, __name__, __repr__, and __str__ as these are all commonly used in non-trivial code. From imports are now allowed, but only from the whitelisted imports. A new string restriction has been added, _STR_NOT_END, which expands the existing validation idioms. User code can now have variables which start with "__"; which means they can now have pseudo private attributes.