Bug in New Style Classes

Leif K-Brooks eurleif at ecritters.biz
Thu Jun 17 05:38:53 CEST 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