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 avrahami.ben, eric.smith, gvanrossum, python-dev, rhettinger
Date 2020-10-01.23:58:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1601596717.62.0.606999704601.issue41905@roundup.psfhosted.org>
In-reply-to
Content
The downside of this proposal is that it is tightly coupled with class creation process.  It requires all existing class decorators, metaclasses, and code generators to start caring about something that isn't part of their core functionality (very few tools are ABC aware).

I'm usually dubious about proposed solutions to problems that 1) rarely occur in practice and 2) require everyone else to change their code.

Am not sure why total_ordering was mentioned?  No current collections ABC requires the ordering methods and hand-rolled numeric classes typically don't use total_ordering because it is simpler, faster, and cleaner to implement the methods directly.
History
Date User Action Args
2020-10-01 23:58:37rhettingersetrecipients: + rhettinger, gvanrossum, eric.smith, python-dev, avrahami.ben
2020-10-01 23:58:37rhettingersetmessageid: <1601596717.62.0.606999704601.issue41905@roundup.psfhosted.org>
2020-10-01 23:58:37rhettingerlinkissue41905 messages
2020-10-01 23:58:37rhettingercreate