commit | f0e717bdb1729ba93f8f2524962ee95ab1d7d425 | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Sun Apr 08 23:39:38 2001 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Sun Apr 08 23:39:38 2001 +0000 |
tree | d68c784ba9420c2d65df8680156838d2f66c6292 | |
parent | 9cec8fba06e66e92769e56130d581ea569399563 [diff] |
Repair portability of sign extension when reading signed ints on boxes where sizeof(long)==8. This *was* broken on boxes where signed right shifts didn't sign-extend, but not elsewhere. Unfortunately, apart from the Cray T3E I don't know of such a box, and Guido has so far refused to buy me any Cray machines for home Python testing <wink>. More immediately interesting would be if someone could please test this on *any* sizeof(long)==8 box, to make sure I didn't break it.