mirror of https://github.com/jab/bidict.git
4d906b6eca
- Use __slots__ to speed up attribute access and decrease memory usage (adding _SlotPickleMixin to preserve pickleability) - "Code review nav" comments - Remove _clear from frozenbidict, leaving only the public `clear` methods on the mutable bidict types. Much clearer now! (ducks) - Improve `pop` and `popitem` signatures. No need for them to take *args/**kw. - Make bidict extend MutableMapping directly rather than registering it as a virtual subclass. Leave a comment explaining that it inherits MutableMapping's setdefault implementation now that it isn't added manually. - Make the DuplicationPolicy class just a namespace holding RAISE, OVERWRITE, and IGNORE, not a _Marker itself. Make RAISE, OVERWRITE, and IGNORE just _Markers, not `DuplicationPolicy`s. - Various other code and docs improvements. |
||
---|---|---|
.. | ||
Makefile | ||
_static | ||
addendum.rst | ||
api.rst | ||
basic-usage.rst | ||
caveat-equivalent-distinct-hashables.rst.inc | ||
caveat-hashable-values.rst.inc | ||
caveat-mutation.rst.inc | ||
caveat-nan-as-key.rst.inc | ||
changelog.rst | ||
code-of-conduct.rst | ||
conf.py | ||
contributors-guide.rst | ||
extending.rst.inc | ||
frozenbidict.rst.inc | ||
home.rst | ||
index.rst | ||
interop.rst.inc | ||
intro.rst | ||
inv-avoids-reference-cycles.rst.inc | ||
learning-from-bidict.rst | ||
namedbidict.rst.inc | ||
order-matters.rst.inc | ||
orderedbidict.rst.inc | ||
other-bidict-types.rst | ||
other-functionality.rst | ||
overwritingbidict.rst.inc | ||
performance.rst.inc | ||
polymorphism.rst.inc | ||
release-notifications.rst.inc | ||
sortedbidicts.rst.inc | ||
thanks.rst.inc | ||
values-hashable.rst.inc | ||
values-unique.rst.inc |