[Python-Dev] test_gettext.py fails on 64-bit architectures

Barry A. Warsaw bwarsaw@beopen.com
Thu, 31 Aug 2000 19:22:53 -0400 (EDT)

>>>>> "MF" == Mark Favas <m.favas@per.dem.csiro.au> writes:

    MF> Close, but no cigar - fixes the miscalculation of BE_MAGIC,
    MF> but "magic" is still read from the .mo file as
    MF> 0xffffffff950412de (the 64-bit rep of the 32-bit negative
    MF> integer 0x950412de)

Thanks to a quick chat with Tim, who is always quick to grasp the meat
of the issue, we realize we need to & 0xffffffff all the 32 bit
unsigned ints we're reading out of the .mo files.  I'll work out a
patch, and check it in after a test on 32-bit Linux.  Watch for it,
and please try it out on your box.