Arnaud, these lists are not generated.
Actually these lists are a sort of interpreted programs and contain some application logic. Here is an example [ [PUSH, [get_modified_interface, req]], [TIMEOUT, 3], [PULL, [out_interface, '']], [PULL, [err_interface, '']], [PULL, [out_mined_interface, req]], ] If any interface name is unknown the list must not be invoked (in other words, f function call with this list must be somehow bypassed). Thanks. On Jan 20, 11:42 pm, Arnaud Delobelle <arno...@gmail.com> wrote: > ilejn <ilja.golsht...@gmail.com> writes: > > Arnaud, > > > good idea, though I think it is not applicable in my case, > > because my arg1 ... argN are "complex multilayer lists". > > > In reality it is not just > > f(arg1), > > it is more like > > f([[subarg1, 'aa', subarg2], []]) > > > Regarding your remark it is a strange problem ... well, may be it > > is ;) > > > Thanks anyway. > > Are these lists automatically generated? > > -- > Arnaud Best regards, Ilja Golshtein. -- http://mail.python.org/mailman/listinfo/python-list