metaclasses vs. inheritance

Ian McMeans imcmeans at home.com
Fri Jun 28 08:23:08 CEST 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