Nick Coghlan <ncogh...@gmail.com> added the comment:

That isn't a semantic change, it is exactly the same semantics as
callable() in 2.x:

>>> class Spam(object):
...   def __call__(self): pass
...
>>> callable(Spam())
True
>>> del Spam.__call__
>>> callable(Spam())
False

----------

_______________________________________
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