Moving to functional programming

Ben Finney bignose+hates-spam at benfinney.id.au
Wed Jul 16 05:11:32 CEST 2008


Paul Rubin <http://phr.cx@NOSPAM.invalid> writes:

> I don't like square-bracket listcomps because they leak the index
> variables to the outside.

According to PEP 289 <URL:http://www.python.org/dev/peps/pep-0289>,
this is an acknowledged wart that will be fixed in Python 3.0.

-- 
 \        “None can love freedom heartily, but good men; the rest love |
  `\                           not freedom, but license.” —John Milton |
_o__)                                                                  |
Ben Finney



More information about the Python-list mailing list