Hi, Dag Sverre Seljebotn wrote: > a.myfunc = myoverride > assert a.__class__ == T > a.myfunc() This doesn't work with extension types, they don't have a __dict__. Stefan