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 pitrou
Recipients Trundle, benjamin.peterson, exarkun, ezio.melotti, georg.brandl, milko.krachounov, ncoghlan, pitrou
Date 2009-11-17.21:15:57
SpamBayes Score 1.146802e-06
Marked as misclassified No
Message-id <1258492560.77.0.870261069478.issue7006@psf.upfronthosting.co.za>
In-reply-to
Content
I also think isinstance(x, collections.Callable) is the correct
replacement. Even though it might give a different answer on weird
corner cases, it is semantically what you are looking for.
(too bad it has a stupid module placement)
History
Date User Action Args
2009-11-17 21:16:00pitrousetrecipients: + pitrou, georg.brandl, exarkun, ncoghlan, benjamin.peterson, ezio.melotti, Trundle, milko.krachounov
2009-11-17 21:16:00pitrousetmessageid: <1258492560.77.0.870261069478.issue7006@psf.upfronthosting.co.za>
2009-11-17 21:15:57pitroulinkissue7006 messages
2009-11-17 21:15:57pitroucreate