Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:
It may have been a mistake to allow this kind of decorator chaining. * As Randolf and Alex have noticed, it invalidates assumptions made elsewhere in the standard library and presumably in third-party code as well. * And as Randolf noted in his last post, the current descriptor logic doesn't make it possible to implement classmethod properties with setter logic. * In issue 44973, we found that staticmethod and property also don't compose well, nor does abstract method. We either need to undo the Python 3.9 feature from issue 19072, or we need to put serious thought into making all these descriptors composable in a way that would match people's expectations. ---------- assignee: -> rhettinger nosy: +berker.peksag _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45356> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com