Stop hash() from working in Python 2, to match Python 3 behaviour

This avoids DeprecationWarning warnings when running with “python2 -3”.