Message377861
> 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. |
|
Date |
User |
Action |
Args |
2020-10-03 08:17:58 | avrahami.ben | set | recipients:
+ avrahami.ben, gvanrossum, rhettinger, eric.smith, python-dev |
2020-10-03 08:17:58 | avrahami.ben | set | messageid: <1601713078.93.0.168590040801.issue41905@roundup.psfhosted.org> |
2020-10-03 08:17:58 | avrahami.ben | link | issue41905 messages |
2020-10-03 08:17:58 | avrahami.ben | create | |
|