相关疑难解决方法(0)

内置python hash()函数

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)上提供相同的结果?

python hash google-app-engine

80
推荐指数
8
解决办法
10万
查看次数

标签 统计

google-app-engine ×1

hash ×1

python ×1