• Mark Dickinson's avatar
    Merged revisions 69436 via svnmerge from · c96db472
    Mark Dickinson yazdı
    svn+ssh://pythondev@svn.python.org/python/trunk
    
    ........
      r69436 | mark.dickinson | 2009-02-08 14:42:28 +0000 (Sun, 08 Feb 2009) | 10 lines
    
      Issue #789290: make sure that hash(2**63) == hash(2.**63) on 64-bit
      platforms.  The previous code was fragile, depending on the twin
      accidents that:
    
        (1) in C, casting the double value 2.**63 to long returns the integer
            value -2**63, and
        (2) in Python, hash(-2**63) == hash(2**63).
    
      There's already a test for this in test_hash.
    ........
    c96db472
Adı
Son kayıt (commit)
Son güncelleme
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
Tools Loading commit data...
.bzrignore Loading commit data...
.hgignore Loading commit data...
.hgtags Loading commit data...
INTBENCH Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
RELNOTES Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
runtests.sh Loading commit data...
setup.py Loading commit data...