Creating new classes on the fly

Alex Martelli aleaxit at
Thu Oct 7 13:33:44 CEST 2004

Carlos Ribeiro <carribeiro at> wrote:
> > They're not quite the same, if the bases tuple is empty or only has
> > classic classes.  I would normally use the second form because new-style
> > classes are generally preferred.
> Question: why is it not pointed out clearly in the documentation? It

My guess is: because nobody ever submitted a documentation patch about

> btw -- the documentation is lacking at *many* points when it comes to
> new style classes, metaclasses, descriptors, and the related
> protocols. I couldn't find a clear description of the class creation
> process there -- although there are lots of info in the Wiki... but
> there *should* be something on the docs, don't you think?

Yes, I agree with you, and I'm sure documentation patches dealing with
these problems would most likely be well received.


More information about the Python-list mailing list