John Posner wrote:
BTW, from the (admittedly few) responses to my original post, it seems there's some sentiment that "conditional expressions" are a non-Pythonic misfeature. Interesting ...-John
I didn't read it that way. One of the (to me) core points of Pythonic is readability. A conditional expression on one line is fine -- a conditional expression on more than one line is less readable than the standard if-else structure.
~Ethan~ -- http://mail.python.org/mailman/listinfo/python-list