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.