Revision 08370440e344cc9dd36cc6f48ce702228ba256f0 authored by Mark Mossberg on 22 March 2018, 21:51:48 UTC, committed by GitHub on 22 March 2018, 21:51:48 UTC
In python3 there are changes to how you are supposed to handle overrides of __eq__, as it relates to __hash__ (http://python3porting.com/preparing.html?highlight=hash#implementing-hash) In python2 we changed __eq__, but did nothing for __hash__, so __hash__ kept using the default one provided by object. In python3 it automatically sets __hash__ to None, so we need to explicitly emulate this.
1 parent c79a35f
File | Mode | Size |
---|---|---|
.github | ||
docs | ||
examples | ||
manticore | ||
scripts | ||
tests | ||
.codeclimate.yml | -rw-r--r-- | 1002 bytes |
.gitignore | -rw-r--r-- | 1.1 KB |
.travis.yml | -rw-r--r-- | 726 bytes |
CHANGELOG.md | -rw-r--r-- | 5.4 KB |
CONTRIBUTING.md | -rw-r--r-- | 2.2 KB |
Dockerfile | -rw-r--r-- | 341 bytes |
LICENSE | -rw-r--r-- | 11.1 KB |
README.md | -rw-r--r-- | 4.9 KB |
setup.py | -rw-r--r-- | 1.1 KB |
tox.ini | -rw-r--r-- | 239 bytes |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...