[issue7555] Wrong return value of isinstance() function

R. David Murray report at bugs.python.org
Mon Dec 21 13:37:16 CET 2009


R. David Murray <rdmurray at bitdance.com> added the comment:

Just to be clear, this isn't a case of circular imports, but of the
class being defined twice (as two different objects, as Mark said), once
when the module is created as main when ss.py is run, and the other when
ss is imported for the first time (by tt).  You have two different
classes: __main__.ss and ss.ss.

----------
nosy: +r.david.murray

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7555>
_______________________________________


More information about the Python-bugs-list mailing list