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

Alex Martelli aleaxit at yahoo.com
Tue Jun 12 03:57:09 EDT 2001


"Skip Montanaro" <skip at pobox.com> wrote in message
news:mailman.992303958.16837.python-list at python.org...
>
>     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
the
>     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 (www.boost.org) for extending Python
with C++ also uses the hook (if I understand it correctly:-).


Alex






More information about the Python-list mailing list