Message1535

Author pedronis
Recipients
Date 2007-03-08.09:47:53
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
why guessing when you can check?  I still don't understand what's the problem, too little information

Python 2.4.3 (#1, Apr  7 2006, 10:54:33) 
[GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> class T(type): 
...    def __init__(self, name, bases, dct):
...        global d 
...        d = dct
... 
>>> class X(object):
...    __metaclass__ = T
...    global d1
...    d1 = locals()
... 
>>> d1 is d
True
History
Date User Action Args
2008-02-20 17:17:46adminlinkissue1676293 messages
2008-02-20 17:17:46admincreate