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

Florent Xicluna report at bugs.python.org
Mon Oct 24 22:16:13 CEST 2011


Florent Xicluna <florent.xicluna at gmail.com> added the comment:

Updated with a special note for "packaging".

----------
Added file: http://bugs.python.org/file23511/issue13258_callable_v2.diff

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


More information about the Python-bugs-list mailing list