bwas empty before that update call, and then the update call raises a ValueNotUnique error, you can be sure
bis still empty after
precheck=Trueoption I mentioned in my previous message and making bulk updates just always fail cleanly), and I'm eager to hear what you think. Would any of you have a moment to take a look at https://bidict.readthedocs.io/en/dev/changelog.html#dev-not-yet-released and let me know what you think? I'd love to make sure these look good to as many of you as possible before I cut the release!
Hi @/all, I've just added a feature to the development version that allows you to create new bidict types with extended functionality in one line of code:
>>> import bidict, sortedcontainers >>> class SortedBidict(bidict.bidict): ... "A bidict which maintains its items in sorted order." ... _dict_class = sortedcontainers.SortedDict
Documentation currently here:
If you have any thoughts, I'd love to hear them. Thanks!