[Python-Dev] Bizarre new test failure
Jeremy 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