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/2001-February/012822.html below:

Fatal scoping error from the twilight zone

[Python-Dev] Re: Fatal scoping error from the twilight zone [Python-Dev] Re: Fatal scoping error from the twilight zoneGuido van Rossum guido@digicool.com
Mon, 12 Feb 2001 11:12:41 -0500
> The problem, fixed in rev. 2.163 of compile.c, was caused by iterating
> over a dictionary using PyDict_Next() and updating it at the same
> time.  The updates are now deferred until the iteration is done.

Ha!  This is excellent anecdotal evidence that "for key in dict", if
we ever introduce it, should disallow updates of the dict while in the
loop!

--Guido van Rossum (home page: http://www.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