[Python-Dev] decorate-sort-undecorate

Greg Ewing greg at cosc.canterbury.ac.nz
Mon Oct 13 20:48:47 EDT 2003


> >    [s for s in lst sortby s.lower()]
> It suffers IMO from the "SQL syndrome": having reserved words to the
> language that are only meaningful in a very specific syntax yet are
> reserved everywhere.

It could probably be a non-reserved keyword in this case.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg at cosc.canterbury.ac.nz	   +--------------------------------------+

More information about the Python-Dev mailing list