FlexDict icon indicating copy to clipboard operation
FlexDict copied to clipboard

New __hash__ implementation up to documentation standards

Open sbordeyne opened this issue 4 years ago • 0 comments

hash(FlexDict()) should equal to hash(FlexDict()) which doesn't happen with the current implementation.

This proposed change should work most of the time, but there may be some hash conflicts. Algorithm used is SHA1 since it's relatively fast, and readily available on all platforms.

sbordeyne avatar Nov 03 '19 07:11 sbordeyne