[Python-Dev] Immutability vs. hashability

Steven D'Aprano steve at pearwood.info
Mon Feb 5 18:37:43 EST 2018


On Sun, Feb 04, 2018 at 09:18:25PM -0800, Guido van Rossum wrote:

> The way I think of it generally is that immutability is a property of
> types, while hashability is a property of values.

That's a great way to look at it, thanks.


-- 
Steve


More information about the Python-Dev mailing list