new-style-classes mixin

Lamy Jean-Baptiste jiba at
Mon Aug 5 14:04:55 CEST 2002

A solution i have used sometimes is to create a new class in doMixin,
rather changing the existent one (e.g. with "new.classobj" from the new
It is not exactly the same, though, since other object of the same class
aren't be modified.

By the way, is there a good reason for __bases__ to be read-only ?


More information about the Python-list mailing list