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/2002-June/025186.html below:

[Python-Dev] Bizarre new test failure

[Python-Dev] Bizarre new test failure [Python-Dev] Bizarre new test failureJeremy Hylton jeremy@zope.com
Fri, 7 Jun 2002 09:12:33 -0400
>>>>> "TP" == Tim Peters <tim.one@comcast.net> writes:

  TP> [Jeremy Hylton, explains the cells in Neil's example] Thanks!
  TP> That was helpful.

> ...
> class A refers to
> function __init__ refers to
> cell for A refers to
> class A

  TP> Where does the singleton tuple containing a cell come from?  I
  TP> guess it must be in function __init__.

As Guido mentioned, I was illustrative but avoided being thorough <0.5
wink>.

class A refers to
its __dict__ refers to 
function __init__ refers to
its func_closure (a tuple of cells) refers to
cell for A refers to
class A

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