Windows XP,Python 2.5:
hash('http://stackoverflow.com') Result: 1934711907
Run Code Online (Sandbox Code Playgroud)
Google App Engine(http://shell.appspot.com/):
hash('http://stackoverflow.com') Result: -5768830964305142685
Run Code Online (Sandbox Code Playgroud)
这是为什么?我怎样才能有一个哈希函数,它可以在不同平台(Windows,Linux,Mac)上提供相同的结果?