Author rhettinger
Recipients rhettinger, veky
Date 2020-05-28.15:41:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1590680490.43.0.896402665789.issue40755@roundup.psfhosted.org>
In-reply-to
Content
I would also have preferred to use the operators <, >, <=, >=, and ==.  The docs in the patch explain why we can't go down this path.

Also, while counters have support for multiset operations, they continue to support other use cases a well (negative counts and fractional counts). That support can't be removed without breaking existing code that relies on it.

From the outset, a Counter was just a dictionary that return 0 for missing keys.  Users are free to use that concept however they want.
History
Date User Action Args
2020-05-28 15:41:30rhettingersetrecipients: + rhettinger, veky
2020-05-28 15:41:30rhettingersetmessageid: <1590680490.43.0.896402665789.issue40755@roundup.psfhosted.org>
2020-05-28 15:41:30rhettingerlinkissue40755 messages
2020-05-28 15:41:30rhettingercreate