[issue13258] replace hasattr(obj, '__call__') with callable(obj)

Antoine Pitrou report at bugs.python.org
Mon Oct 24 22:07:56 CEST 2011


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

For packaging I'm not sure it's worth complicating backporting.

----------
nosy: +eric.araujo, pitrou

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


More information about the Python-bugs-list mailing list