Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Correct. Keys must be immutable and hashable.


Technically keys only have to be hashable, but an object that is hashable but not immutable is not a good idea and in practice the two will go together.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: