[issue23990] Callable builtin doesn't respect descriptors

Ionel Cristian Mărieș report at bugs.python.org
Mon Apr 20 10:43:14 CEST 2015


Ionel Cristian Mărieș added the comment:

On Mon, Apr 20, 2015 at 7:02 AM, Raymond Hettinger <report at bugs.python.org>
wrote:

> AFAICT, there isn't a real problem here and the API for better-or-worse
> has proven to be usable in practice (the callable() API has been around
> practically forever and the descriptor protocol has been around since Py2.2
> -- if there were a real issue here, it would have reared it head long ago).

​I think this is largely a product of misunderstanding the issue. As you
can see in the early comments in the thread, the fact that special methods
​use descriptors is really really obscure.

Thanks,
-- Ionel Cristian Mărieș, http://blog.ionelmc.ro

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23990>
_______________________________________


More information about the Python-bugs-list mailing list