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 |
---|---|---|
EVM | ||
auto | ||
binaries | ||
reference | ||
__init__.py | -rw-r--r-- | 2 bytes |
mockmem.py | -rw-r--r-- | 2.0 KB |
test_abi.py | -rw-r--r-- | 12.1 KB |
test_armv7_bitwise.py | -rw-r--r-- | 2.6 KB |
test_armv7cpu.py | -rw-r--r-- | 53.0 KB |
test_armv7rf.py | -rw-r--r-- | 2.5 KB |
test_binaries.py | -rw-r--r-- | 6.1 KB |
test_cpu_automatic.py | -rw-r--r-- | 1.9 MB |
test_cpu_manual.py | -rw-r--r-- | 35.8 KB |
test_driver.py | -rw-r--r-- | 727 bytes |
test_dyn.py | -rw-r--r-- | 176.9 KB |
test_eth.py | -rw-r--r-- | 5.6 KB |
test_events.py | -rw-r--r-- | 2.1 KB |
test_linux.py | -rw-r--r-- | 5.9 KB |
test_manticore.py | -rw-r--r-- | 1.6 KB |
test_memory.py | -rw-r--r-- | 56.7 KB |
test_models.py | -rw-r--r-- | 6.0 KB |
test_register.py | -rw-r--r-- | 1.7 KB |
test_slam_regre.py | -rw-r--r-- | 226.7 KB |
test_smtlibv2.py | -rw-r--r-- | 24.2 KB |
test_state.py | -rw-r--r-- | 9.0 KB |
test_unicorn.py | -rw-r--r-- | 44.8 KB |
test_workspace.py | -rw-r--r-- | 3.1 KB |
test_x86.py | -rw-r--r-- | 4.3 MB |
test_x86_pcmpxstrx.py | -rw-r--r-- | 1.3 MB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...