Andrew Svetlov added the comment: After brief looking sources I figured out it can be solved by adding setters for __isabstractmethod__ to classmethod/staticmethod objects. It can be done, I'll try to make a patch.
For property situation is worse: property is abstract if any of getter/setter/deleter is abstract. Which object attribute should be set for setting __isabstractmethod__ for property? We can make the rule: abstractmethod for classmethod/staticmethod/property should set descriptor as abstract, not functions behind it. I'm not sure is it true solution but I like to try to make a patch for that. Anyway, the patch for describing current behavior in the docs is welcome. ---------- stage: -> needs patch versions: +Python 3.4 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16267> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com