statement level resumable exception

ilejn ilja.golshtein at gmail.com
Thu Jan 20 14:49:54 EST 2011


Chris,
this is a long story why arguments may be not known.
Briefly these arguments come (or may come) from XML and may be not
specified.
A function call which does not have all arguments defined must be
skipped as gracefully as possible.
What I am asking about is how to achieve this goal.
Thanks.
On Jan 20, 9:58 pm, Chris Rebert <c... at rebertia.com> wrote:
> On Thu, Jan 20, 2011 at 9:32 AM, ilejn <ilja.golsht... at gmail.com> wrote:
> > Hello!
>> > I have a sequence of a function calls. Basically it looks like
>> > f(arg1)

> Why aren't they known? It's a very bad code smell to have possibly
> completely-undefined variables.
>> Cheers,
> Chris
> --http://blog.rebertia.com

Best regards,
Ilja Golshtein.


More information about the Python-list mailing list

AltStyle によって変換されたページ (->オリジナル) /