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 SilentGhost, benjamin.peterson, brett.cannon, daniel.urban, eric.araujo, ezio.melotti, georg.brandl, lukasz.langa, michael.foord, pitrou
Date 2010-11-27.23:00:39
SpamBayes Score 1.0007077e-05
Marked as misclassified No
Message-id <1290898837.23986.2.camel@localhost.localdomain>
In-reply-to <1290897998.91.0.650708525744.issue10518@psf.upfronthosting.co.za>
Content
> > ABCs are still the exception in Python, and duck typing is still the
> rule.
> 
> Then why do we callable again?

Because the way __call__ is looked up means hasattr(x, "__call__") is
not the right answer. Otherwise there would be no point in bringing it
back at all.
History
Date User Action Args
2010-11-27 23:00:41pitrousetrecipients: + pitrou, brett.cannon, georg.brandl, benjamin.peterson, ezio.melotti, eric.araujo, michael.foord, SilentGhost, daniel.urban, lukasz.langa
2010-11-27 23:00:39pitroulinkissue10518 messages
2010-11-27 23:00:39pitroucreate