LSL-PyOptimizer/lslopt
Sei Lisa 991e811f2d Fix Python gotcha with module globals, and missing 'cond' in lslextrafuncs.
The previous commit didn't work as expected. "from module import var" freezes the value at load time; changing it later has no effect. A reference to the module needs to be used.

Fix that and the similar problem with LSO. Also revert some "from lslcommon import *" introduced earlier.

That also revealed another bug about missing 'cond' in the import list of lslextrafuncs. This should fix all functions that return values on null key input.
2016-12-21 00:22:49 +01:00
..
__init__.py Initial commit. Status so far: 2014-07-26 02:43:44 +02:00
lslbasefuncs.py Fix Python gotcha with module globals, and missing 'cond' in lslextrafuncs. 2016-12-21 00:22:49 +01:00
lslcommon.py Change how LSLCalc is handled. 2016-12-20 21:25:33 +01:00
lsldeadcode.py Fix problem due to not copying a node. It still needs more analysis, but this patch is an improvement in that it fixes known problematic cases and doesn't seem to introduce new ones. 2015-06-14 05:11:32 +02:00
lslextrafuncs.py Fix Python gotcha with module globals, and missing 'cond' in lslextrafuncs. 2016-12-21 00:22:49 +01:00
lslfoldconst.py Make Unicode some strings that should be, and improve error reporting in builtins.txt 2016-12-20 20:13:53 +01:00
lslfuncparams.py Implement library function parameter optimization. 2015-04-21 04:56:09 +02:00
lslfuncs.py Add copyright notices to all files, to prepare the program for release. 2015-03-05 23:18:41 +01:00
lsljson.py Add copyright notices to all files, to prepare the program for release. 2015-03-05 23:18:41 +01:00
lsloptimizer.py Update copyright years of some files; add legalese to seftable.txt 2016-06-27 20:06:41 +02:00
lsloutput.py Fix Python gotcha with module globals, and missing 'cond' in lslextrafuncs. 2016-12-21 00:22:49 +01:00
lslparse.py Fix Python gotcha with module globals, and missing 'cond' in lslextrafuncs. 2016-12-21 00:22:49 +01:00
lslrenamer.py Document the internal behaviour of run_time_permissions under LSO 2015-12-11 02:28:51 +01:00