Message122584
> > 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:41 | pitrou | set | recipients:
+ pitrou, brett.cannon, georg.brandl, benjamin.peterson, ezio.melotti, eric.araujo, michael.foord, SilentGhost, daniel.urban, lukasz.langa |
2010-11-27 23:00:39 | pitrou | link | issue10518 messages |
2010-11-27 23:00:39 | pitrou | create | |
|