[Python-ideas] More power in list comprehensions with the 'as' keyword

Josiah Carlson josiah.carlson at gmail.com
Fri Aug 29 06:21:14 CEST 2008

On Thu, Aug 28, 2008 at 1:16 PM, Mathias Panzenböck
<grosser.meister.morti at gmx.net> wrote:
> Josiah Carlson schrieb:
>> That's just as bad as the original.
> I know. I wasn't serious (I should have made that clear).
>> Please stop offering new syntax.
> Do you mean on this particular issue or ever again? So you don't want any new
> syntax in python ever again??

This issue.  It's just like the "group by" operator that was proposed
months ago and rejected.

Keep it simple.  Additional syntax typically burdens the user with
additional mental overhead.  Decorators are *still* causing
significant consternation among relatively new users who haven't seen
them before, as have variable leakage out of for loops and list

 - Josiah

More information about the Python-ideas mailing list