Turns out we do not have a choice. params is a variable specified by jsonrpc. It can be an array or an object. The change in trunk was wrong as we need to check whether it is an array or an object (serialized as dict). and act accordingly. It should now be fixed in trunk.
Massimo On Saturday, 22 December 2012 07:03:36 UTC-6, Niphlod wrote: > > both of you, jump on the bandwagon here ..... > > https://groups.google.com/d/topic/web2py/5kCYP-wiELo/discussion > > > > On Saturday, December 22, 2012 7:04:18 AM UTC+1, rochacbruno wrote: >> >> >> >> On Sat, Dec 22, 2012 at 3:57 AM, Mike D <mike....@gmail.com> wrote: >> >>> s = methods[method](**params) >> >> >> I guess it should be >> >> s = methods[method](*args, **params) >> >> to be more flexible >> > --