Andrey Fedorov wrote: > What is the tradeoff between hasattr(f, '__call__') I know about that ;-) > and isinstance(f, Callable)? New to me ;-) I presume it needs an import. I presume it also requires that something be registered as a Callable. Terry Jan Reedy