bidict v0.20.0 Release Notes

Release Date: 2020-07-23 // over 3 years ago
  • The following breaking changes are expected to affect few if any users.

    ✂ Remove APIs deprecated in the previous release:

    • bidict.OVERWRITE and bidict.IGNORE.

    • The on_dup_key, on_dup_val, and on_dup_kv arguments of :meth:~bidict.bidict.put and :meth:~bidict.bidict.putall.

    • The on_dup_key, on_dup_val, and on_dup_kv :class:~bidict.bidict class attributes.

    • Remove :meth:bidict.BidirectionalMapping.__subclasshook__ due to lack of use and maintenance cost.

    Fixes a bug introduced in 0.15.0 that caused any class with an inverse attribute to be incorrectly considered a subclass of :class:collections.abc.Mapping. #111 <https://github.com/jab/bidict/issues/111>__