• Neal Norwitz's avatar
    Fix a couple of bugs exposed by the new __index__ code. The 64-bit buildbots · 1872b1c0
    Neal Norwitz yazdı
    were failing due to inappropriate clipping of numbers larger than 2**31
    with new-style classes. (typeobject.c)  In reviewing the code for classic
    classes, there were 2 problems.  Any negative value return could be returned.
    Always return -1 if there was an error.  Also make the checks similar
    with the new-style classes.  I believe this is correct for 32 and 64 bit
    boxes, including Windows64.
    
    Add a test of classic classes too.
    1872b1c0
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...
PCbuild8 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...