On Wed, Jan 21, 2015 at 9:15 AM, Ian Kelly <ian.g.ke...@gmail.com> wrote: > class MultiSet(MutableSet):
In retrospect this probably shouldn't derive from MutableSet, since that carries the expectation that all elements are unique (much like how bool shouldn't be subclassed). For instance, collections.Set includes some operators that aren't compatible with the second operand being a multiset. -- https://mail.python.org/mailman/listinfo/python-list