[issue42102] Make builtins.callable "generic"

Batuhan Taskaya report at bugs.python.org
Mon Nov 16 04:25:29 EST 2020


Batuhan Taskaya <isidentical at gmail.com> added the comment:

> Sorry, but making builtins.callable generic looks wrong to me. It is a predicate, not a constructor. If it would be called "iscallable" instead of "callable" nobody would propose to make it generic, right? It's just a coincidence that the name of this predicate equals to the name of typing.Callable and collections.abc.Callable.

I concur with Serhiy on this.

----------
nosy: +BTaskaya

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42102>
_______________________________________


More information about the Python-bugs-list mailing list