[Python-ideas] Bring back callable()

Zac Burns zac256 at gmail.com
Sat Nov 27 03:58:57 CET 2010


> I actually really prefer `isinstance(x, collections.Callable)`...
>
> If this was accepted, I would at least want it to be called `iscallable`
> instead
> of `callable`, since I sometimes want to use the name `callable` in my
> code.
>
>
> Ram.
>
>
+1 to making a Callable abstract baseclass

-1 to putting it in collections... it's not iterable nor does it hold items.

--
Zachary Burns
(407)590-4814
Aim - Zac256FL
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20101126/66f40bc9/attachment.html>


More information about the Python-ideas mailing list