PEP308: Yet another syntax proposal

Erik Max Francis max at
Tue Feb 11 09:15:33 CET 2003

Paul Rubin wrote:

> Andrew, I keep wondering why you post these statistics.  I gather the
> low frequency of conditional expressions (CE's) in code that you
> examine is supposed to be some kind of evidence that they're not
> useful all that frequently.  However, empirically, whether they're
> useful frequently or not, they're useful often enough that people keep
> asking about them and we get these endless threads.

_And_ the broken alternatives get used in the standard library in
_Python_ code!

This isn't an abstract matter of "Gee, what if," the deficient
alternatives _are_ being used, even by seasoned Python programmers. 
And, as we've all seen from Andrew Koenig's example, cause bugs.  In the
standard library.

 Erik Max Francis / max at /
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ There I was / There I was / Splitting atoms with my desire
\__/ Lamya
    Computer science /
 A computer science reference.

More information about the Python-list mailing list