You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The StatePickler uses the hash function hash to generate a key for its object cache, at least for hashable objects. Without an extra equality check, this is broken, and leads to different objects with the same hash being treated as the same object.
The
StatePickler
uses the hash functionhash
to generate a key for its object cache, at least for hashable objects. Without an extra equality check, this is broken, and leads to different objects with the same hash being treated as the same object.Example failure resulting from this:
Here the error occurs because the tuples
(-1, -1)
and(-2, -2)
have the same hash.The text was updated successfully, but these errors were encountered: