summaryrefslogtreecommitdiff
path: root/Lib/gettext.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-06-18 19:21:11 +0000
committerTim Peters <tim.peters@gmail.com>2001-06-18 19:21:11 +0000
commit07b110f38c58b99f98815736ac234f00a8cb4db6 (patch)
tree4a7d20ad46ae44fd1f62c4ed49b48762d436dc46 /Lib/gettext.py
parentd07fc9daf8573685100e04ed2bb181f2f7ee29fa (diff)
downloadcpython-07b110f38c58b99f98815736ac234f00a8cb4db6.tar.gz
SF bug 434186: 0x80000000/2 != 0x80000000>>1
i_divmod: New and simpler algorithm. Old one returned gibberish on most boxes when the numerator was -sys.maxint-1. Oddly enough, it worked in the release (not debug) build on Windows, because the compiler optimized away some tricky sign manipulations that were incorrect in this case. Makes you wonder <wink> ... Bugfix candidate.
Diffstat (limited to 'Lib/gettext.py')
0 files changed, 0 insertions, 0 deletions