title: Built in Python hash() function
body: <p>Windows XP, Python 2.5:</p>
  
  <pre><code>hash('http://stackoverflow.com') Result: 1934711907
  </code></pre>
  
  <p>Google App Engine (<a href="http://shell.appspot.com/" rel="nofollow noreferrer">http://shell.appspot.com/</a>):</p>
  
  <pre><code>hash('http://stackoverflow.com') Result: -5768830964305142685
  </code></pre>
  
  <p>Why is that? How can I have a hash function that will give me same results across different platforms (Windows, Linux, Mac)? </p>