reloading modules and isinstance()

Tlis tlis01 at googlemail.com
Fri Dec 14 04:53:07 EST 2007


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 :-)



More information about the Python-list mailing list