]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
"Conceptual" merge of rev 51711 from the 2.5 branch.
authorTim Peters <tim.peters@gmail.com>
Tue, 5 Sep 2006 02:18:09 +0000 (02:18 +0000)
committerTim Peters <tim.peters@gmail.com>
Tue, 5 Sep 2006 02:18:09 +0000 (02:18 +0000)
commitc10c9d0d6b5a5783001b4eddd309cbd33b060ade
treec328e30f569f3050d4b1332e67a2fb8a65335106
parenta0c95fa4d8f6cdc500e29a390bc7357a74b69572
"Conceptual" merge of rev 51711 from the 2.5 branch.

i_divmod():  As discussed on Python-Dev, changed the overflow
checking to live happily with recent gcc optimizations that
assume signed integer arithmetic never overflows.

This differs from the corresponding change on the 2.5 and 2.4
branches, using a less obscure approach, but one that /may/
tickle platform idiocies in their definitions of LONG_MIN.
The 2.4 + 2.5 change avoided introducing a dependence on
LONG_MIN, at the cost of substantially goofier code.
Misc/NEWS
Objects/intobject.c