This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lukasz.langa
Recipients SilentGhost, benjamin.peterson, brett.cannon, eric.araujo, ezio.melotti, georg.brandl, lukasz.langa, pitrou
Date 2010-11-25.09:56:11
SpamBayes Score 0.015366713
Marked as misclassified No
Message-id <1290678973.51.0.496980119878.issue10518@psf.upfronthosting.co.za>
In-reply-to
Content
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).
History
Date User Action Args
2010-11-25 09:56:13lukasz.langasetrecipients: + lukasz.langa, brett.cannon, georg.brandl, pitrou, benjamin.peterson, ezio.melotti, eric.araujo, SilentGhost
2010-11-25 09:56:13lukasz.langasetmessageid: <1290678973.51.0.496980119878.issue10518@psf.upfronthosting.co.za>
2010-11-25 09:56:11lukasz.langalinkissue10518 messages
2010-11-25 09:56:11lukasz.langacreate