[Python-3000] PEP 3100 Comments
Greg Ewing
greg.ewing at canterbury.ac.nz
Mon May 8 03:08:42 CEST 2006
Talin wrote:
> How about instead of 'callable', an "isFunction' test to go along
> with 'isSequence' and 'isMapping'. (You aren't getting rid of those -
> I hope...?)
Yes, we are! And for much the same reasons!
And *how* exactly would you implement your isFunction test
so as to detect the "naive, everyday concept of a function"
that you seem to want, in a way that does any better job
than the current callable()?
--
Greg
More information about the Python-3000
mailing list