[issue7624] isinstance(... , collections.Callable) fails with oldstyle class i nstances
Antoine Pitrou
report at bugs.python.org
Fri Jan 29 18:19:08 CET 2010
Antoine Pitrou <pitrou at free.fr> added the comment:
Well the fix is easy for old-style classes, since we just have to use hasattr(obj, '__call__') in that case.
----------
keywords: +easy
nosy: +pitrou
priority: normal -> critical
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7624>
_______________________________________
More information about the Python-bugs-list
mailing list