➜

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.

作者 avrahami.ben
收信人 avrahami.ben, eric.smith, gvanrossum, python-dev, rhettinger
日期 2020-10-03.08:17:58
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1601713078.93.0.168590040801.issue41905@roundup.psfhosted.org>
In-reply-to
内容
> 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:58avrahami.ben修改recipients: + avrahami.ben, gvanrossum, rhettinger, eric.smith, python-dev
2020-10-03 08:17:58avrahami.ben修改messageid: <1601713078.93.0.168590040801.issue41905@roundup.psfhosted.org>
2020-10-03 08:17:58avrahami.ben链接issue41905 messages
2020-10-03 08:17:58avrahami.ben创建