Christian Heimes added the comment:

How about

>>> (78 << 24) + (111 << 16) + (110 << 8) + 101
1315925605

The output of hash() is not guaranteed to be consistent between processes. The 
outcome depends on the hash randomization key, architecture, platform, Python 
version and perhaps other flags. 32bit builds of Python generated different 
hash() values than 64bit. The value might depend on endianess, too. (Not sure 
about that)

----------
nosy: +christian.heimes
stage:  -> needs patch
type:  -> enhancement
versions: +Python 3.3, Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19224>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to