[Python-Dev] Adding a conditional expression in Py3.0
Greg Ewing
greg.ewing at canterbury.ac.nz
Wed Sep 21 03:24:29 CEST 2005
More information about the Python-Dev mailing list
Wed Sep 21 03:24:29 CEST 2005
- Previous message: [Python-Dev] Adding a conditional expression in Py3.0
- Next message: [Python-Dev] "and" and "or" operators in Py3.0
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Terry Reedy wrote: > "The original version of this PEP proposed the following syntax: > <expression1> if <condition> else <expression2> > The out-of-order arrangement was found to be too uncomfortable > for many of participants in the discussion; especially when > <expression1> is long, it's easy to miss the conditional while > skimming." Guido wrote that while he was in listen-to-the-masses mode. If he's switched back to follow-my-instincts mode, it may need to be re-evaluated. -- Greg Ewing, Computer Science Dept, +--------------------------------------+ University of Canterbury, | A citizen of NewZealandCorp, a | Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. | greg.ewing at canterbury.ac.nz +--------------------------------------+
- Previous message: [Python-Dev] Adding a conditional expression in Py3.0
- Next message: [Python-Dev] "and" and "or" operators in Py3.0
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list