Łukasz Langa <luk...@langa.pl> added the comment:

I was originally surprised to find that callable() was gone. I pointed it out 
at Europython and got a very informative explanation from Brett. The 
isinstance(obj, collections.Callable) was introduced and it works well.

I'm with Ezio here. I'm -1 for callable(), +0 for iscallable() (there should be 
preferably one obvious way to do it and using isinstance() seems to be that way 
at this point).

----------
nosy: +brett.cannon, lukasz.langa

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

Reply via email to