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.00071e-05
Marked as misclassified No
Message-id <1290898837.23986.2.camel@localhost.localdomain>
In-reply-to <>
> > 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.
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