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 avrahami.ben
Recipients avrahami.ben, eric.smith, gvanrossum, python-dev, rhettinger
Date 2020-10-03.08:17:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1601713078.93.0.168590040801.issue41905@roundup.psfhosted.org>
In-reply-to
Content
> I would prefer the isinstance(cls, ABCMeta) check to be inside that helper

I had a little debate about this in my mind, I'll change it.

> it's totally clear to me what @total_ordering should do -- it should define __le__, __gt__ and __ge__ in terms of __lt__, and leave __lt__ alone, for some subclass to implement.

Implementing this logic would require more than two lines. I will add it to the PR.
History
Date User Action Args
2020-10-03 08:17:58avrahami.bensetrecipients: + avrahami.ben, gvanrossum, rhettinger, eric.smith, python-dev
2020-10-03 08:17:58avrahami.bensetmessageid: <1601713078.93.0.168590040801.issue41905@roundup.psfhosted.org>
2020-10-03 08:17:58avrahami.benlinkissue41905 messages
2020-10-03 08:17:58avrahami.bencreate