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.

Author phr
Recipients phr
Date 2020-04-27.23:59:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1588031999.2.0.641079021792.issue40411@roundup.psfhosted.org>
In-reply-to
Content
It would be nice to have frozen Counters analogous to frozensets, so they are usable as dictionary keys.  One can of course create frozenset(counter.items()) but that means the set items are tuples rather than the original set elements, so it's no longer quick to check membership.  I can work around this in my immediate application but it seems like a shortcoming.  There are some other set operations that aren't supported by counters either, that would be nice if they are conceptually multisets.
History
Date User Action Args
2020-04-27 23:59:59phrsetrecipients: + phr
2020-04-27 23:59:59phrsetmessageid: <1588031999.2.0.641079021792.issue40411@roundup.psfhosted.org>
2020-04-27 23:59:59phrlinkissue40411 messages
2020-04-27 23:59:59phrcreate