• Tim Peters's avatar
    Added q/Q standard (x-platform 8-byte ints) mode in struct module. · 7a3bfc3a
    Tim Peters yazdı
    This completes the q/Q project.
    
    longobject.c _PyLong_AsByteArray:  The original code had a gross bug:
    the most-significant Python digit doesn't necessarily have SHIFT
    significant bits, and you really need to count how many copies of the sign
    bit it has else spurious overflow errors result.
    
    test_struct.py:  This now does exhaustive std q/Q testing at, and on both
    sides of, all relevant power-of-2 boundaries, both positive and negative.
    
    NEWS:  Added brief dict news while I was at it.
    7a3bfc3a
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...
.cvsignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
acconfig.h Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
setup.py Loading commit data...