Smith, Jeff wrote: > P.S. This should in no way be construed as undercutting my belief that > Python should have a case statement, a ternary operator, and > full-fledged lambdas
Python 2.5 does have conditional expressions that do the work of a ternary operator: x = y if z else w http://docs.python.org/whatsnew/pep-308.html Kent _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor