if does not evaluate

Tor Iver Wilhelmsen tor.iver.wilhelmsen at broadpark.no
Tue Jun 8 12:57:38 EDT 2004


Jim Newton <jimka at rdrop.com> writes:

> this suggestion does not work because
> expr2 evaluates even if expr1 is TRUE.

Yes, someone pointed that out already :) - the solution was to use
lambda expressions, which is reasonable.



More information about the Python-list mailing list