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/2004-September/049059.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 loopBatista, Facundo FBatista at uniFON.com.ar
Thu Sep 23 17:58:39 CEST 2004
[Raymond Hettinger]

#- In comparison, the classic form doesn't seem as magical:
#- 
#-     x = [1]
#-     for y in x:
#-         x.append(-y)
#- 

The eternal inherent risk of modify the iterable being iterated. Who didn't
ever fall in this?

.	Facundo
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