| Store | Cart

[Python-Dev] Accessing globals without dict lookup

From: Skip Montanaro <s...@pobox.com>
Mon, 11 Feb 2002 08:26:46 -0600
    Ping> But hey... in that case the cellptr is always two steps away from
    Ping> the object.  So why not just use PyObject**s instead of cells?

I think it's because they aren't objects.  You need to make the indirection
explicit so that when some code does the equivalent of module.abs it
realizes it needs to follow the chain.

Thanks for the great diagram, btw.  I knew if I did something feeble it
would get rewritten correctly.

Skip

Recent Messages in this Thread
Ka-Ping Yee Feb 11, 2002 01:22 pm
Skip Montanaro Feb 11, 2002 02:26 pm
Guido van Rossum Feb 11, 2002 04:28 pm
Ka-Ping Yee Feb 11, 2002 01:14 pm
Skip Montanaro Feb 11, 2002 02:39 pm
Guido van Rossum Feb 11, 2002 03:02 pm
Messages in this thread