statement level resumable exception

ilejn ilja.golshtein at gmail.com
Thu Jan 20 16:03:04 EST 2011


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... at gmail.com> wrote:
> ilejn <ilja.golsht... at 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.



More information about the Python-list mailing list