On Jan 27, 2008 3:19 PM, Pauli Virtanen <[EMAIL PROTECTED]> wrote:
>
> su, 2008-01-27 kello 13:48 -0700, Charles R Harris kirjoitti:
> [clip]
> >
> > I don't think the problem is scanf, at least not here. The following
> code snippet works fine for me.
> >
>
> Reading the code in arraytypes.inc.sr
su, 2008-01-27 kello 13:48 -0700, Charles R Harris kirjoitti:
[clip]
>
> I don't think the problem is scanf, at least not here. The following code
> snippet works fine for me.
>
Reading the code in arraytypes.inc.src and multiarraymodule.c, it
appears that numpy is using strtol(str, &tailptr, 0
On Jan 27, 2008 12:40 PM, Eric Firing <[EMAIL PROTECTED]> wrote:
> Pauli Virtanen wrote:
>
>
> That is it exactly. The code in core/src/arraytypes.inc.src is using
> scanf, and scanf tries hard to recognize integers specified in different
> ways. So, what caught me is a feature, not a bug, and
Pauli Virtanen wrote:
> su, 2008-01-27 kello 01:16 -0700, Charles R Harris kirjoitti:
>>
>> On Jan 26, 2008 11:30 PM, Eric Firing <[EMAIL PROTECTED]> wrote:
>> In the course of trying to parse ascii times, I ran into a
>> puzzling bug.
>> Sometimes it works as expected:
>>
la, 2008-01-19 kello 14:15 +0900, David Cournapeau kirjoitti:
> Pauli Virtanen wrote:
> > pe, 2008-01-18 kello 18:06 +0900, David Cournapeau kirjoitti:
> >> Hi there,
> >>
> >> I got a mercurial mirror of numpy available. I put some basic info
> >> on the wiki
> >>
> >> http://scipy.org/scipy
Pearu Peterson wrote:
> On Sun, January 27, 2008 12:12 pm, David Cournapeau wrote:
>> Hi,
>>
>> For fortran support in numscons, I would like to know which fortran
>> compiler we support ? For now, I successfully used the following:
>> - g77 on linux.
>> - mingw g77 on windows.
>> -
su, 2008-01-27 kello 01:16 -0700, Charles R Harris kirjoitti:
>
>
> On Jan 26, 2008 11:30 PM, Eric Firing <[EMAIL PROTECTED]> wrote:
> In the course of trying to parse ascii times, I ran into a
> puzzling bug.
> Sometimes it works as expected:
>
> In [31
Doesn't work here:
In [1]: import numpy as npy
In [2]: npy.fromstring('23:09:01', dtype=int, sep=':')
Out[2]: array([23, 0])
In [3]: npy.__version__
Out[3]: '1.0.5.dev4722'
In [4]: npy.fromstring('23:09:01', dtype=int, sep=':', count=3)
Out[4]: array([ 23, 0, 151904160])
...
Pe
On Sun, January 27, 2008 12:12 pm, David Cournapeau wrote:
> Hi,
>
> For fortran support in numscons, I would like to know which fortran
> compiler we support ? For now, I successfully used the following:
> - g77 on linux.
> - mingw g77 on windows.
> - gfortran on linux and mac os X
Hi,
For fortran support in numscons, I would like to know which fortran
compiler we support ? For now, I successfully used the following:
- g77 on linux.
- mingw g77 on windows.
- gfortran on linux and mac os X.
- intel compiler on linux.
- sun compiler on linux and solari
On Jan 26, 2008 11:30 PM, Eric Firing <[EMAIL PROTECTED]> wrote:
> 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:
>
>
11 matches
Mail list logo