python 1.0 beta on DEC Alphas?

anthony baxter (anthony@aaii.oz.au)
Mon, 17 Jan 1994 17:12:45 +1100

Anyone done any work on getting Python to work on DEC Alpha
machines (with OSF/1) ?

I just tried it now, the make worked fine, however, make test gave:
[....]
PYTHONPATH=./Lib ./python -c 'import autotest'
Traceback (innermost last):
File "<string>", line 1
File "./Lib/autotest.py", line 67
main()
File "./Lib/autotest.py", line 62
import testall
File "./Lib/testall.py", line 10
import test_grammar
File "./Lib/test_grammar.py", line 44
if eval('9223372036854775807-1 != -01000000000000000000000'):
File "<string>", line 0
OverflowError: integer negation
*** Exit 1
Stop.

If I comment out the lines:
> if eval('9223372036854775807-1 != -01000000000000000000000'):
> raise TestFailed, 'max negative int'
from Lib/test_grammar.py, the tests all succeed.

This looks like some evilnasty32bit-ism :-) rearing its head. Should I
be worried about this?

(btw:
alamein/root/93 # PYTHONPATH=./Lib ./python
Python 1.0.0 BETA 5 (Jan 17 1994)
Copyright 1991-1994 Stichting Mathematisch Centrum, Amsterdam
>>> 9223372036854775807-1
9223372036854775806
)

Ta,
Anthony