Benjamin Peterson <benja...@python.org> added the comment:

2009/10/22 Georg Brandl <rep...@bugs.python.org>:
>
> Georg Brandl <ge...@python.org> added the comment:
>
> 2to3 still uses hasattr(x, 'callable')

Do you have strong opinions about this? IMO, hasattr(x, '__call__') is
compatible enough.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7006>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to