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-December/040670.html below:

[Python-Dev] Re: "groupby" iterator

[Python-Dev] Re: "groupby" iterator [Python-Dev] Re: "groupby" iteratorGuido van Rossum guido at python.org
Wed Dec 3 14:19:52 EST 2003
[Samuele]
> I would expect blocks to be blocks, accepting also statements and
> sharing the scope with the surrounding code, not having
> early-binding semantics.
> 
> Honestly, given the introduction of generator exprs, a substitute
> expression for lambda with early-binding semantics makes
> sense. Personally I can see it also as meaningful wrt the
> statemenent/expression dichotomy in python, and we would have
> early-binding as a general rule for "expressions".
> 
> But again I think that a block-like syntax should be used, if at
> all, for real blocks.

Thanks -- that all makes sense.

--Guido van Rossum (home page: http://www.python.org/~guido/)

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