On 1/20/2011 11:49 AM ilejn said...
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.
I might try using sets:
required = set(('a','b','c'))
if not (required - set(locals())): f(a,b,c)
HTH,
Emile
--
http://mail.python.org/mailman/listinfo/python-list
