This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients AlexWaygood, berker.peksag, corona10, randolf.scholz, rhettinger, serhiy.storchaka, terry.reedy, wim.glenn
Date 2021-10-10.22:38:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1633905506.34.0.0979400734499.issue45356@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-10-10 22:38:26rhettingersetrecipients: + rhettinger, terry.reedy, berker.peksag, serhiy.storchaka, wim.glenn, corona10, randolf.scholz, AlexWaygood
2021-10-10 22:38:26rhettingersetmessageid: <1633905506.34.0.0979400734499.issue45356@roundup.psfhosted.org>
2021-10-10 22:38:26rhettingerlinkissue45356 messages
2021-10-10 22:38:26rhettingercreate