5.2.1 fails 5 tests: SGI Indigo-2 IRIX 6.2 gcc -O2

Harry George hgg9140 at seanet.com
Sun Jul 23 18:42:21 EDT 2000


I can't speak to those particular errors, but can give some related
data points:

I had python 1.5.2, numpy, and PyXML compiled via gcc 2.95.2 under
irix 6.5 but was never able to get it visible to irix 6.2.  So I fully
recompiled using sgi's own cc, and can now run on either 6.2 or 6.5.

[I had built the gcc from sources, instead of using the "freeware"
install mechanism.]

Eben Oldmixon <eben at ids.net> writes:

> Can somebody comment on these failures from the Python 5.2.1
> distribution test suite?  I found mention of an error from test_re under
> SunOS in the Deja News archives, nothing from python's test_long, and
> didn't look further.  Are these likely to turn and bite?  I installed
> anyway.  I particularly like the non-overflowing of maxint+1, although
> '+-1' (!) is a close second.
> 
> #file: error_msgs
> 
> #errors from build of Python 5.2.1 on SGI Indigo-2 under IRIX 6.2
> # using gcc -O2
> # errors from:
> #	test_grammar
> #	test_builtin
> #	test_types
> #	test_long
> #	test_re
> 
> 
> python test_grammar.py
> 1. Parser
> 1.1 Tokens
> 1.1.1 Backslashes
> 1.1.2 Numeric literals
> 1.1.2.1 Plain integers
> Traceback (innermost last):
>   File "test_grammar.py", line 44, in ?
>     elif eval('maxint == 9223372036854775807'):
> OverflowError: integer literal too large
>  error_msgs
> Traceback (innermost last):
>   File "test_re.py", line 63, in ?
>     raise TestFailed, "re.sub"
> test_support -- test failed: re.sub
> 
> 
> 
> 4. Built-in functions
> test_b1
> __import__
> abs
> apply
> callable
> chr
> cmp
> coerce
> compile
> complex
> delattr
> dir
> divmod
> eval
> execfile
> filter
> float
> getattr
> hasattr
> hash
> hex
> id
> int
> Traceback (innermost last):
>   File "test_builtin.py", line 9, in ?
>     impo6. Built-in types
> 6.1 Truth value testing
> 6.2 Boolean operations
> 6.3 Comparisons
> 6.4 Numeric types (mostly conversions)
> 6.4.1 32-bit integers
> 6.4.2 Long integers
> Traceback (innermost last):
>   File "test_types.py", line 85, in ?
>     else:raise TestFailed, 'long op'
> test_support -- test failed: long op
> rt test_b1
>   File "test_b1.py", line 287, in ?
>     raise TestFailed, "int(%s) raised ValueError: %s" % (`ss`, e)
> test_support -- test failed: int('+-1') raised ValueError: invalid
> literal for int(): +-1
> 
> 
> 
> 6. Built-in types
> 6.1 Truth value testing
> 6.2 Boolean operations
> 6.3 Comparisons
> 6.4 Numeric types (mostly conversions)
> 6.4.1 32-bit integers
> 6.4.2 Long integers
> Traceback (innermost last):
>   File "test_types.py", line 85, in ?
>     else:raise TestFailed, 'long op'
> test_support -- test failed: long op
> 
> 
> 
> python test_long.py
> long / * % divmod
> long bit-operation identities
> long str/hex/oct/atol
> long miscellaneous operations
> Traceback (innermost last):
>   File "test_long.py", line 251, in ?
>     test_misc()
>   File "test_long.py", line 235, in test_misc
>     raise TestFailed, "int(long(sys.maxint) + 1) didn't overflow"
> test_support -- test failed: int(long(sys.maxint) + 1) didn't overflow
> 
> 
> 
> 
> Running tests on re.search and re.match
> Running tests on re.sub
> Traceback (innermost last):
>   File "test_re.py", line 63, in ?
>     raise TestFailed, "re.sub"
> test_support -- test failed: re.sub

-- 
Harry George
hgg9140 at seanet.com



More information about the Python-list mailing list