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-April/034587.html below:

[Python-Dev] Garbage collecting closures

[Python-Dev] Garbage collecting closures [Python-Dev] Garbage collecting closuresJeremy Hylton jeremy@zope.com
14 Apr 2003 12:16:59 -0400
On Mon, 2003-04-14 at 12:08, Guido van Rossum wrote:
> I don't see the reason for this semantic restriction.  IMO it could
> just as well be a runtime error (e.g. raising UnboundLocalError).

I can't recall why I thought this restriction was necessary.  Very
little code and one new opcode is required to change the compile-time
error to a runtime error.

Jeremy





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