消息 [377861]
> 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. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2020-10-03 08:17:58 | avrahami.ben | 修改 | recipients:
+ avrahami.ben, gvanrossum, rhettinger, eric.smith, python-dev |
| 2020-10-03 08:17:58 | avrahami.ben | 修改 | messageid: <1601713078.93.0.168590040801.issue41905@roundup.psfhosted.org> |
| 2020-10-03 08:17:58 | avrahami.ben | 链接 | issue41905 messages |
| 2020-10-03 08:17:58 | avrahami.ben | 创建 | |
|