• Tim Peters's avatar
    Try to repair more new buildbot failures in "x86 OpenBSD trunk", due · 6902b444
    Tim Peters yazdı
    to that id() can now return a Python long on a 32-bit box that allocates
    addresses "with the sign bit set".
    
    test_set.py test_subclass_with_custom_hash():  it's never been portably
    legal for a __hash__() method to return id(self), but on 32-bit boxes
    that never caused a problem before it became possible for id() to
    return a Python long.  Changed __hash__ here to return a Python int
    regardless of platform.
    
    test_descr.py specials():
        vereq(hash(c1), id(c1))
    has never been a correct test -- just removed it (hash() is always
    a Python int; id() may be a Python long).
    6902b444
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...
RISCOS Loading commit data...
Tools Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
setup.py Loading commit data...