Benyang Tang wrote:
I also found that the a[5:] problem is Python version dependent.
On a 64-bit linux, of the following combinations I have tried, only
the first one has the problem. The other two are ok.
* Python 2.5.1 and Numeric 24.2
* Python 2.4.5 and Numeric 24.2
* Python 2.3.7 and Numeric
I also found that the a[5:] problem is Python version dependent.
On a 64-bit linux, of the following combinations I have tried, only
the first one has the problem. The other two are ok.
* Python 2.5.1 and Numeric 24.2
* Python 2.4.5 and Numeric 24.2
* Python 2.3.7 and Numeric 24.2
On Oct 29, 10:5
At 2008-10-29T17:53:43Z, Benyang <[EMAIL PROTECTED]> writes:
> It is totally screwed up on 64-bit linux machines:
> [1 1 1 1 1 1 1 1 1 1]
And on 64-bit FreeBSD machines.
--
Kirk Strauser
The Day Companies
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, Oct 29, 2008 at 1:53 PM, Benyang <[EMAIL PROTECTED]> wrote:
> The Python version is 2.5.1, and Numeric is the latest version 24.2.
While 24.2 is the latest version of Numeric, it's also three years old
and no longer supported. From http://numpy.scipy.org/ - "Numeric was
the first arrayobj
Confirmed
Benyang wrote:
Maybe it has been reported somewhere, but it is a big surprise to me.
# Try the following:
import Numeric
a = Numeric.ones(10)
a[5:] = -1
print a
It works correctly on 32-bit linux machines and on 32-bit Windows XP:
[ 1 1 1 1 1 -1 -1 -1 -1 -1]
It is totally screwe
Maybe it has been reported somewhere, but it is a big surprise to me.
# Try the following:
import Numeric
a = Numeric.ones(10)
a[5:] = -1
print a
It works correctly on 32-bit linux machines and on 32-bit Windows XP:
[ 1 1 1 1 1 -1 -1 -1 -1 -1]
It is totally screwed up on 64-bit linux machine