Do you have a simple program that demonstrates the problem?

I have an x86 machine with Python 2.3, and an x86_64 machine with Python 2.4
available.  I wrote a simple test program which performs a slice operation,
but it behaves the same on both platforms.

Here's the program:
#------------------------------------------------------------------------
import numarray, sys, os
print "python:  ", sys.version_info 
print "numarray:", numarray.__version__
print "CPU:     ", os.uname()[-1]

n = numarray.arange(10)
o = numarray.outerproduct(n,n)
p = o[3:7,6:10].copy()
q = numarray.outerproduct([3,4,5,6], [6,7,8,9])
print "Success: ", numarray.alltrue(p.ravel() == q.ravel())
#------------------------------------------------------------------------

Here are the two results I gathered:

python:   (2, 4, 1, 'final', 0)
numarray: 1.3.3
CPU:      x86_64
Success:  True

python:   (2, 3, 2, 'final', 0)
numarray: 0.9
CPU:      i686
Success:  1

Jeff

Attachment: pgpBMzxSrksM3.pgp
Description: PGP signature

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to