Moving to functional programming

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

Paul Rubin <> writes:

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

According to PEP 289 <URL:>,
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