metaclasses -- aka Don Beaudry hook/hack (was RE: Why should i use python if i can use java)

Alex Martelli aleaxit at
Tue Jun 12 09:57:09 CEST 2001

"Skip Montanaro" <skip at> wrote in message
news:mailman.992303958.16837.python-list at
>     James> I have found is that "the hook" doesn't seem to be complete in
>     James> the sense that only the "class" statement seems to know about
>     James> hook.
> Jim Fulton's ExtensionClass stuff knows about the Don Beaudry hook.
> ExtensionClasses are used in Zope (you can get the source from any Zope
> distribution) and by the latest Python wrappers for Gtk.

The Boost Python Library ( for extending Python
with C++ also uses the hook (if I understand it correctly:-).


More information about the Python-list mailing list