[Python-Dev] test_builtin failing? or just 64-bit platforms

Mark Favas mark.favas@csiro.au
Sat, 01 Dec 2001 09:55:49 +0800


Anyone else getting test_builtin failures with current CVS, or does it
only show on 64-bit platforms? Changes in the past week seem to have
caused the failure. Isolated to following (will post bug on SF):

***** older CVS works *****
201 mark@gonzo.per.dem.csiro.au python
Python 2.2b2+ (#539, Nov 26 2001, 09:52:25) [C] on osf1V4
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> s=-1-sys.maxint
>>> d=`s`
>>> d
'-9223372036854775808'
>>> s
-9223372036854775808
>>> ^D

***** current CVS fails *****
202 mark@gonzo.per.dem.csiro.au cd dist/src
203 mark@gonzo.per.dem.csiro.au ./python
Python 2.2b2+ (#541, Dec  1 2001, 08:04:58) [C] on osf1V4
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> s=-1-sys.maxint
>>> d=`s`
>>> d
'8t\x10@\x01'
>>> s
-9223372036854775808
>>> ^D


-- 
Mark Favas  -   m.favas@per.dem.csiro.au
CSIRO, Private Bag No 5, Wembley, Western Australia 6913, AUSTRALIA