A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2004-September/049057.html below:

[Python-Dev] A cute new way to get an infinite loop

[Python-Dev] A cute new way to get an infinite loop [Python-Dev] A cute new way to get an infinite loopJeremy Hylton jhylton at gmail.com
Thu Sep 23 15:01:17 CEST 2004
On Thu, 23 Sep 2004 04:26:58 -0400, Tim Peters <tim.peters at gmail.com> wrote:
> >>> x = [1]
> >>> x.extend(-y for y in x)

It is perhaps surprising that something lazy can work so hard.

Jeremy
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