[Python-Dev] Explorations on new-style classes (original) (raw)

Guido van Rossum guido@python.org
Tue, 05 Mar 2002 15:38:43 -0500


First, should we add the type of a slot descriptor to 'types'? i.e.:

# Get the type of a member descriptor (its not currently in types) class Foo(object): slots = 'a' memberdescriptor = type(Foo.a) del Foo If so, I'll submit a patch related the the above.

I'd rather not. After all I see this as an implementation detail.

Second, I've been twisting metaclasses to do my evil bidding.

Do you mind if I put off reading about that until later? I've got my hands full. :-(

--Guido van Rossum (home page: http://www.python.org/~guido/)