FlexDict
FlexDict copied to clipboard
New __hash__ implementation up to documentation standards
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.