
Nov. 23, 2010
11:50 p.m.
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 The funny thing is that your rationale for not adding Picklable (just try and catch exception) is essentially the rationale for removing callable() ;-). -- Terry Jan Reedy