]> granicus.if.org Git - python/commit
SF #532767: isinstance(x, X) should work when x is a proxy for an X
authorGuido van Rossum <guido@python.org>
Wed, 12 Feb 2003 03:32:58 +0000 (03:32 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 12 Feb 2003 03:32:58 +0000 (03:32 +0000)
commit03bc7d3c4d22146b2e28c39e6c2e239137318f0a
tree3a926bb496d70ae4bd0445b5db5889b226ceaad7
parent73019a6321ba3718e31c110c290b94949be1b70f
SF #532767: isinstance(x, X) should work when x is a proxy for an X
instance, as long as x.__class__ is X or a subclass thereof.
Did a little cleanup of PyObject_IsInstance() too.
Lib/test/test_descr.py
Misc/NEWS
Objects/abstract.c