[issue23990] Callable builtin doesn't respect descriptors
Joe Jevnik
report at bugs.python.org
Sat Apr 18 02:14:57 CEST 2015
Joe Jevnik added the comment:
I don't see how it is a bug that you can make __call__ an arbitrary descriptor as long as it returns a valid callable. if n.__call__ is a valid callable, why should it matter that it was looked up as a descriptor or as an instancemethod?
----------
type: enhancement -> behavior
versions: +Python 2.7, Python 3.2, Python 3.3, Python 3.4 -Python 3.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23990>
_______________________________________
More information about the Python-bugs-list
mailing list