Ionel Cristian Mărieș added the comment:

> > But somehow defining them with @property works (I guess because @property 
> > is in the class).

> IMO, this is the bug and not the callable() behavior.

By the same reasoning we shouldn't be able to use staticmethod or classmethod 
for special methods. I'm pretty sure that's intended, even if it looks useless.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23990>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to