Proposed PEP for a Conditional Expression

Marcin 'Qrczak' Kowalczyk qrczak at
Wed Sep 12 16:16:50 CEST 2001

Wed, 12 Sep 2001 13:56:09 +0200, Alex Martelli <aleax at> pisze:

> I think the proposed conditional operator would be just about at
> the threshold (I wouldn't particularly care either way if it got in
> or stayed out) EXCEPT for the risk that it may in fact encourage
> people to write more lambda's rather than named local functions,
> which I see as a substantial minus.

If we prefer list comprehensions to for loops with appends,
in this case it encourages in the right direction.

 __("<  Marcin Kowalczyk * qrczak at
  ^^                      SYGNATURA ZASTĘPCZA

More information about the Python-list mailing list