Skip to content

Tags: wheerd/multiset

Tags

3.2.0

Toggle 3.2.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Make Multiset(s) subscriptable with Multiset[_T] syntax (#138)

* Add typing to source file and remove typing file

* Format toml

* Fix operator usage only available from 3.11

* Disable fail-fast in ci

* Restore typing file

* Fix typing issue with 3.8

* Fix Iterable usage for 3.8

* Fix iterable usage for 3.8

* Fix Set usage for 3.8

3.1.0

Toggle 3.1.0's commit message
Test build in pipeline

3.0.2

Toggle 3.0.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix pop and setdefault methods (#116)

* Fix pop and setdefault methods

These two methods didn't update the self._total variable when called, which stores the total size of the multiset. This could lead to an erroneous size value being stored, since it would be out of sync with the real multiset size.

* Update test adding some size checks

* Update size checks to make them clearer

3.0.1

Toggle 3.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Update setup.cfg

3.0.0

Toggle 3.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Fix unnecessary sorting and copying in __hash__ (#52)

* Fix unnecessary sorting and copying in __hash__

#51

* Use frozenset hash instead of summing

per feedback on #52 (review)

Co-authored-by: MikeFHay <>

2.1.1

Toggle 2.1.1's commit message
Add __rsub__ and values()

2.1.0

Toggle 2.1.0's commit message
Add __rsub__ and values()

2.0.3

Toggle 2.0.3's commit message
Add support for pickle and tests for str() and repr()

Fixes #2

2.0.2

Toggle 2.0.2's commit message
Some performance optimizations.

Also added __all__.

2.0.1

Toggle 2.0.1's commit message
Fixed the missing dependency in dev-requirements.txt