[issue23990] Callable builtin doesn't respect descriptors
Ionel Cristian Mărieș
report at bugs.python.org
Sat Apr 18 19:43:12 CEST 2015
Ionel Cristian Mărieș added the comment:
On Sat, Apr 18, 2015 at 8:35 PM, Christian Heimes <report at bugs.python.org>
wrote:
> You also haven't shown that this behavior violates the documentation and
> language spec.
How can I show it violates the "spec" when there's not such thing? :-)
AFAIK, `callable` is not specified in any PEP. Please give some references
when you make such statements.
[...] write a PEP and convince all implementors of Python implementations
> to change the current way callable() and other protocols like iter work.
`iter` works fine, as outlined above? Am I missing something? What other
protocols do you have in mind, wrt honoring descriptors?
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