[Python-ideas] A standard library Multiset implementation?

2022-08-12 Thread Brian Gladman
reliability, efficiency, effectiveness and trustworthiness. Brian Gladman ___ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python

[Python-ideas] Re: A standard library Multiset implementation?

2022-08-20 Thread Brian Gladman
Thank you for your advice, Raymond, which I much appreciate. I have started to use the more_itertools package. I probably also need to take Counter() more seriously but I have shied away from it until now, fearing that it might be more focussed on 'counting' than on 'multiset operations' (i.e

[Python-ideas] Re: A standard library Multiset implementation?

2022-08-20 Thread Brian Gladman
Christopher Barker wrote: > (i.e. such as the API here: https://multiset.readthedocs.io/en/stable/). > It seems that’s just what you want. Honestly, despite the idea of > “batteries included”, it is very common these days to need a third party > lib. > If that package meets your needs, then great.