The Python Oracle

Types that define `__eq__` are unhashable?

This video explains
Types that define `__eq__` are unhashable?

--

Become part of the top 3% of the developers by applying to Toptal
https://topt.al/25cXVn

--

Music by Eric Matyas
https://www.soundimage.org
Track title: Flying Over Ancient Lands

--

Chapters
00:00 Question
01:32 Accepted answer (Score 95)
02:06 Answer 2 (Score 32)
02:45 Answer 3 (Score 6)
03:43 Answer 4 (Score 1)
04:25 Thank you

--

Full question
https://stackoverflow.com/questions/1608...

Answer 1 links:
[http://docs.python.org/3.1/reference/dat....]: http://docs.python.org/3.1/reference/dat...

Answer 2 links:
[object.__hash__]: http://docs.python.org/3.1/reference/dat...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#python #hash #python3.x

#avk47