[issue7624] isinstance(... , collections.Callable) fails with oldstyle class i nstances

Antoine Pitrou report at bugs.python.org
Fri Jan 29 19:46:38 CET 2010


Antoine Pitrou <pitrou at free.fr> added the comment:

"subtype == _InstanceType" can probably be replaced with "subtype is _InstanceType". Otherwise, the patch looks good to me.

----------
nosy: +benjamin.peterson

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


More information about the Python-bugs-list mailing list