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 AlexWaygood
Recipients AlexWaygood, andrei.avk, berker.peksag, corona10, grahamd, lukasz.langa, pablogsal, randolf.scholz, rhettinger, serhiy.storchaka, terry.reedy, wim.glenn
Date 2021-11-19.18:29:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1637346565.31.0.303962025222.issue45356@roundup.psfhosted.org>
In-reply-to
Content
It makes me sad that the stdlib will no longer provide a way to compose classmethods with other descriptors. However, I agree that deprecating classmethod  chaining is probably the correct course of action, given the complications this feature has caused, and the backwards-compatibility issues it raises.

This is probably a conversation for another BPO issue or the python-ideas mailing list, but I hope some consideration can be given in the future as to whether a new classmethod-like feature could possibly be added to functools that would enable this kind of decorator chaining without the same code-breakage concerns that this feature has had.
History
Date User Action Args
2021-11-19 18:29:25AlexWaygoodsetrecipients: + AlexWaygood, rhettinger, terry.reedy, grahamd, lukasz.langa, berker.peksag, serhiy.storchaka, wim.glenn, corona10, pablogsal, andrei.avk, randolf.scholz
2021-11-19 18:29:25AlexWaygoodsetmessageid: <1637346565.31.0.303962025222.issue45356@roundup.psfhosted.org>
2021-11-19 18:29:25AlexWaygoodlinkissue45356 messages
2021-11-19 18:29:25AlexWaygoodcreate