[Numpy-discussion] major bug in fromstring, ascii mode

2008-01-26 Thread Eric Firing
In the course of trying to parse ascii times, I ran into a puzzling bug. Sometimes it works as expected: In [31]:npy.fromstring('23:19:01', dtype=int, sep=':') Out[31]:array([23, 19, 1]) But sometimes it doesn't: In [32]:npy.fromstring('23:09:01', dtype=int, sep=':') Out[32]:array([23, 0])

Re: [Numpy-discussion] segfault problem with numpy and pickle

2008-01-26 Thread David Bolme
I think you are right. This does seem to be the same bug as 551. I will try a non optimized ATLAS to see if that helps. ___ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] segfault problem with numpy and pickle

2008-01-26 Thread Pauli Virtanen
to, 2008-01-24 kello 13:18 -0700, David Bolme kirjoitti: > A am having some trouble when pickling numpy arrays. Basically I use > one python script to create the array and then pickle it. When I load > the pickled array using a different python script it appears to load > fine. When I try to pe

Re: [Numpy-discussion] Problems with long

2008-01-26 Thread Travis E. Oliphant
Tom Johnson wrote: > Hi, I'm having some troubles with long. > > from numpy import log log(8463186938969424928L) > 43.5822574833 > log(10454852688145851272L) > : 'long' object has no attribute 'log' > The problem is that the latter long integer i

Re: [Numpy-discussion] Problems with long

2008-01-26 Thread Charles R Harris
On Jan 26, 2008 12:39 AM, Tom Johnson <[EMAIL PROTECTED]> wrote: > Hi, I'm having some troubles with long. > > >>> from numpy import log > >>> log(8463186938969424928L) > 43.5822574833 > >>> log(10454852688145851272L) > : 'long' object has no attribute 'log' > Numpy uses the standard C functions,

Re: [Numpy-discussion] [ANN] numscons 0.3.0 release

2008-01-26 Thread Charles R Harris
On Jan 26, 2008 1:05 AM, David Cournapeau <[EMAIL PROTECTED]> wrote: > Charles R Harris wrote: > > > > > > On Jan 25, 2008 11:30 PM, David Cournapeau > > <[EMAIL PROTECTED] > > > wrote: > > > > Charles R Harris wrote: > > > > > > > > > > > > > > It varies wit

Re: [Numpy-discussion] [ANN] numscons 0.3.0 release

2008-01-26 Thread David Cournapeau
Charles R Harris wrote: > > > On Jan 25, 2008 11:30 PM, David Cournapeau > <[EMAIL PROTECTED] > > wrote: > > Charles R Harris wrote: > > > > > > > > It varies with the Linux distro. The usual convention (LSB, I think) > > uses /usr/local/lib64, but Debia

Re: [Numpy-discussion] [ANN] numscons 0.3.0 release

2008-01-26 Thread Charles R Harris
On Jan 25, 2008 11:30 PM, David Cournapeau <[EMAIL PROTECTED]> wrote: > Charles R Harris wrote: > > > > > > It varies with the Linux distro. The usual convention (LSB, I think) > > uses /usr/local/lib64, but Debian and distros derived from Debian use > > /usr/local/lib instead. That's how it was