metaclasses vs. inheritance

Ian McMeans imcmeans at
Fri Jun 28 02:23:08 EDT 2002

Can someone give an example of a problem that is solved with metaclasses,
which would be difficult or impossible to solve with inheritance?

I (very barely) understand metaclasses, but to me it just seems like
inheritance, where the classes who get the benefit of the meta-class get the
metaclass' features.

PS - what's the antonym of meta?

More information about the Python-list mailing list