[Python-3000] callable()
Greg Ewing
greg.ewing at canterbury.ac.nz
Wed Jul 19 03:21:06 CEST 2006
Andrew Koenig wrote:
> I am uncomfortable about exposing the implementation this way, if only
> because it would require fixing the equivalence between callable() and
> hasattr(obj, '__call__') for all time.
I don't see anything bad about fixing that equivalence.
I regard the fact that it *wasn't* fixed before as a
language design bug that Py3k will hopefully fix.
--
Greg
More information about the Python-3000
mailing list