Re: [Geoserver-devel] More on python scripts and default values

2014-05-28 Thread Justin Deoliveira
I wonder if this is really necessary. This is a well known aspect of the python language and it doesn't seem unreasonable to have the limitation that any parameter with a default value would have to be ordered after one without a default value? Actually it seems pretty logical to me to order the pa

[Geoserver-devel] More on python scripts and default values

2014-05-28 Thread Andrea Aime
Hi, the default value treatment for python scripts is now using the default specified in the execute method signature, e.g.; def execute(a, b=10) There is however a catch, what if we wanted to give a a default value, and not b? Python syntax apparently forces one to put arguments with a certain d