[Python-ideas] Bring back callable()

Joao S. O. Bueno jsbueno at python.org.br
Mon Mar 7 21:09:24 CET 2011


On Mon, Mar 7, 2011 at 2:17 PM, Bill Janssen <janssen at parc.com> wrote:
> Terry Reedy <tjreedy at udel.edu> wrote:
>>> On 11/23/2010 6:01 PM, Antoine Pitrou wrote:
>>>> > The substitute of writing `isinstance(x, collections.Callable)` is
>> > not good, 1) because it's wordier 2) because collections is really not
>> > an intuitive place where to look for a Callable ABC.
>>>> I thnk it should be in the abc module, along with WeakSet
>> Me too.

I was not around here, and although I looked for, I didn't find this on the web:
What was the reasoning for removing "callable" in the first place?
 js
 -><-
>> Bill
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> http://mail.python.org/mailman/listinfo/python-ideas
>


More information about the Python-ideas mailing list

AltStyle によって変換されたページ (->オリジナル) /