For review: PEP 308 - If-then-else expression

Dan Schmidt dfan at dfan.org
Mon Feb 10 17:55:18 EST 2003


Michael Hudson <mwh at python.net> writes:

| This has been an eye-opener for me: people really do write
|
|     x and y or b
|
| I don't know whether I'm more surprised or disappointed.

I was really surprised as well to find that this is all over the
standard library.  I thought the examples that I had posted were just
abuses by a programmer too zealous for space optimization.

Dan

-- 
http://www.dfan.org




More information about the Python-list mailing list