Author: soliton
Date: Sun Jul 13 18:43:22 2008
New Revision: 28006
URL: http://svn.gna.org/viewcvs/wesnoth?rev=28006&view=rev
Log:
* line length fixes
Modified:
trunk/changelog
Modified: trunk/changelog
URL:
http://svn.gna.org/viewcvs/wesnoth/trunk/changelog?rev=28006&r1=28005&r2=28006&view=diff
==============================================================================
--- trunk/changelog (original)
+++ trunk/changelog Sun Jul 13 18:43:22 2008
@@ -87,12 +87,13 @@
* A new global boolean variable, 'restricted' is now set before the user AI
script is invoked. This variable indicates if it is running inside of
a restricted python environment or not.
- * A new class of unrestricted scripts are now listed. Previously only
scripts which have
- #!WPY at the top are allowed. If only allow safe python scripts is
disabled,
- scripts which start with #!UNSAFE_WPY are also shown to users. This allows
- AI authors to specifically target either a restricted or unrestricted
environment.
- * New "system" class attributes are exposed in the restricted environment.
These
- include; '__call__', '__copy__', '__deepcopy__', '__name__',
+ * A new class of unrestricted scripts are now listed. Previously only
+ scripts which have #!WPY at the top are allowed. If only allow safe python
+ scripts is disabled, scripts which start with #!UNSAFE_WPY are also shown
+ to users. This allows AI authors to specifically target either a
+ restricted or unrestricted environment.
+ * New "system" class attributes are exposed in the restricted environment.
+ These include; '__call__', '__copy__', '__deepcopy__', '__name__',
'__repr__' and '__str__', in addition to the old __init__ method.
* ValueError can now be caught.
* Added a new AI, bruteforce_unsafe.py, which uses both function caching
@@ -100,10 +101,10 @@
tag and is not selectable unless "Only Run Safe Python AIs" is disabled.
This version of bruteforce runs 1x-14x FASTER than the stock python AI;
*heavily* dependent on the map and number of units involved.
- * Per the python API documentation, many functions now return boolean
values rather
- than ints. Minor modernization effort to use new C-API macros provided via
- python 2.4+. This change is fully backward compatible for scripts which
properly
- treat the return value as a boolean.
+ * Per the python API documentation, many functions now return boolean values
+ rather than ints. Minor modernization effort to use new C-API macros
+ provided via python 2.4+. This change is fully backward compatible for
+ scripts which properly treat the return value as a boolean.
* Initial wail directory checkin. It's only a teaser at this point. ;)
* bruteforce_wail.py has been added - showing how easy it is to move a
well written bot from the wesnoth module to the wail module.
_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits