why dict objects are unhashable in python?

Short answer: because they are mutable containers.

If a dict was hashed, its hash would change as you changed its contents.

Leave a Comment