Author veky
Recipients rhettinger, veky
Date 2020-05-26.03:47:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1590464856.12.0.399909166694.issue40755@roundup.psfhosted.org>
In-reply-to
Content
isequal is really strange considering we're talking about Python here. Do any of other stdlib types have that method instead of just using == (which works fine even now)? I'd even spell the second and third as <= and >=, same as set does.

But if we're finally going to accept that Counters are just bags (CS term for multisets), then surely .add and .remove (and maybe .discard, setting the count to 0) would be more natural additions. I can't count (pun intended) all the times I had to write that '] += 1' just to count some element.
History
Date User Action Args
2020-05-26 03:47:36vekysetrecipients: + veky, rhettinger
2020-05-26 03:47:36vekysetmessageid: <1590464856.12.0.399909166694.issue40755@roundup.psfhosted.org>
2020-05-26 03:47:36vekylinkissue40755 messages
2020-05-26 03:47:35vekycreate