Message199452
In the same Python version, hash(None) always give me the same value. I cannot reproduced your issue on Linux, I tested Python 2.7, 3.3 and 3.4.
$ python2.7 -c "print(hash(None))"
17171842026
$ python2.7 -c "print(hash(None))"
17171842026
$ python2.7 -c "print(hash(None))"
17171842026
$ python3.3 -c "print(hash(None))"
17171873465
$ python3.3 -c "print(hash(None))"
17171873465
$ python3.3 -c "print(hash(None))"
17171873465
$ python3.4 -c "print(hash(None))"
588812
$ python3.4 -c "print(hash(None))"
588812
$ python3.4 -c "print(hash(None))"
588812 |
|
Date |
User |
Action |
Args |
2013-10-11 09:19:16 | vstinner | set | recipients:
+ vstinner, tim.peters, rhettinger, pitrou, christian.heimes, hongqn |
2013-10-11 09:19:15 | vstinner | set | messageid: <1381483155.99.0.278409079949.issue19224@psf.upfronthosting.co.za> |
2013-10-11 09:19:15 | vstinner | link | issue19224 messages |
2013-10-11 09:19:15 | vstinner | create | |
|