• Tim Peters's avatar
    Cray J90 fixes for long ints. · 7d3a511a
    Tim Peters yazdı
    This was a convenient excuse to create the pyport.h file recently
    discussed!
    Please use new Py_ARITHMETIC_RIGHT_SHIFT when right-shifting a
    signed int and you *need* sign-extension.  This is #define'd in
    pyport.h, keying off new config symbol SIGNED_RIGHT_SHIFT_ZERO_FILLS.
    If you're running on a platform that needs that symbol #define'd,
    the std tests never would have worked for you (in particular,
    at least test_long would have failed).
    The autoconfig stuff got added to Python after my Unix days, so
    I don't know how that works.  Would someone please look into doing
    & testing an auto-config of the SIGNED_RIGHT_SHIFT_ZERO_FILLS
    symbol?  It needs to be defined if & only if, e.g., (-1) >> 3 is
    not -1.
    7d3a511a
Adı
Son kayıt (commit)
Son güncelleme
BeOS Loading commit data...
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...
.cvsignore Loading commit data...
.hgtags Loading commit data...
Makefile.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...