Yet further fixes hashing on Python 3