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

STINNER Victor report at bugs.python.org
Tue Oct 25 00:25:56 CEST 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

> Is it actually appropiate to commit this to 3.2?

If it fixes a bug, the fix should be backported to 3.2.

----------

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


More information about the Python-bugs-list mailing list