[Types-sig] MetaClasses (Non-ASCII art)

Just van Rossum just@letterror.com
Tue, 1 Dec 1998 22:57:18 +0100


I made a drawing of a possible meta object model (...or what I understand
of it), but it went beyond ASCII, so you are kindly invited to visit:
	http://starship.skyport.net/~just/meta/

Whether the dotted lines actually actually go through the objects or not is
left vague on purpous. It depends on whether you'd like to write
	instance.__class__
	instance.__turtle__
or
	instance->in_class
	instance->ob_type
or
	instance.__class__
	instance.__class__.__nature__
or (my fave, so this matches the drawing best)
	instance.__class__
	instance.__class__.__class__

Inheritance is deliberately left out of the picture, since it is defined
(according to my model) by the metametaclass.

Does any of this make any sense to anyone?

Just