> > mixed = new.classobj("K1_K2", (K1, K1), {}) There is an error in the code. Obviously it should read mixed = new.classobj("K1_K2", (K1, K2), {}) --