Bug in New Style Classes

Leif K-Brooks eurleif at ecritters.biz
Wed Jun 16 23:38:53 EDT 2004


David MacQuigg wrote:
> I have what looks like a bug trying to generate new style classes with
> a factory function.

IIRC, you can't assign to __bases__ of a new-style class. But you can 
use type() instead of your home-made factory function.



More information about the Python-list mailing list