Tlis schrieb: > Hi, > > I have found that it is possible to reassign the instance.__class__ > reference to the same class (but after reloading) to make the > isinstance() test work again! I know that it is a kind of hacking of > the Python interpreter, but it works :-)
It's not especially "hacking" (albeit certainly not a common thing to do). But it of course will only work for instances you are _aware_ of. Diez -- http://mail.python.org/mailman/listinfo/python-list