A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2003-October/039139.html below:

[Python-Dev] accumulator display syntax

[Python-Dev] accumulator display syntax [Python-Dev] accumulator display syntaxSkip Montanaro skip at pobox.com
Tue Oct 21 09:57:38 EDT 2003
    >> [Alex measures speed improvements]

    Guido> Great!  This is a plus for iterator comprehensions (we need a
    Guido> better term BTW).

Here's an alternate suggestion.  Instead of inventing new syntax, why not
change the semantics of list comprehensions to be lazy?  They haven't been
in use that long, and while they are popular, the semantic tweakage would
probably cause minimal disruption.  In situations where laziness wasn't
wanted, the most that a particular use would have to change (I think) is to
pass it to list().

Skip

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4