test_host.py
1.27 KB
-
Bugfix: if you define a custom __eq__, you must define a __hash__ too · 06247973
Also, on Python 3 the stock object.__hash__ raises an error ("unhashable type"), and we have code that uses Host instances as dict keys.
Marius Gedminas committed