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/2000-July/007301.html below:

[Python-Dev] Features for Python 2.0

[Python-Dev] Features for Python 2.0 [Python-Dev] Features for Python 2.0Guido van Rossum guido@beopen.com
Tue, 25 Jul 2000 09:57:35 -0500
> guido wrote:
> 
> >   [x for x in seq]
> >   [x+y for x in seq1 for y in seq2]
> >   [x for x in seq if pred(x)]
> >   [x, x*2 for x in seq]
> 
> stupid question: does the last one mean that a python parser has
> to stack an infinite number of tokens before it can figure out if it
> has a list or a list comprehension?
> 
> did Python just turn into something that is much harder to parse?

This is a (minor) open issue; I'd be happy with requiring

  [(x, x*2) for x in seq]

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



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