Re: [Numpy-discussion] failure building trunk with mingw

2009-11-22 Thread josef . pktd
On Sun, Nov 22, 2009 at 2:35 AM, David Cournapeau courn...@gmail.com wrote: On Wed, Nov 18, 2009 at 6:10 PM, David Cournapeau courn...@gmail.com wrote: On Wed, Nov 18, 2009 at 12:38 AM,  josef.p...@gmail.com wrote: Now numpy builds without problems. When I run the tests I get 16 failures

Re: [Numpy-discussion] failure building trunk with mingw

2009-11-22 Thread Charles R Harris
On Sun, Nov 22, 2009 at 6:28 AM, josef.p...@gmail.com wrote: On Sun, Nov 22, 2009 at 2:35 AM, David Cournapeau courn...@gmail.com wrote: On Wed, Nov 18, 2009 at 6:10 PM, David Cournapeau courn...@gmail.com wrote: On Wed, Nov 18, 2009 at 12:38 AM, josef.p...@gmail.com wrote: Now

Re: [Numpy-discussion] failure building trunk with mingw

2009-11-22 Thread David Cournapeau
On Sun, Nov 22, 2009 at 11:45 PM, Charles R Harris charlesr.har...@gmail.com wrote: Might be nice to print out the actual values of np.spacing and np.nextafter here. Yes, I should add some utilities to print those for this kind of test. But in this case, I know the problem: mingw gcc use 80

Re: [Numpy-discussion] failure building trunk with mingw

2009-11-22 Thread josef . pktd
On Sun, Nov 22, 2009 at 10:01 AM, David Cournapeau courn...@gmail.com wrote: On Sun, Nov 22, 2009 at 11:45 PM, Charles R Harris charlesr.har...@gmail.com wrote: Might be nice to print out the actual values of np.spacing and np.nextafter here. Yes, I should add some utilities to print those

Re: [Numpy-discussion] failure building trunk with mingw

2009-11-22 Thread josef . pktd
On Sun, Nov 22, 2009 at 10:25 AM, David Cournapeau courn...@gmail.com wrote: On Mon, Nov 23, 2009 at 12:14 AM,  josef.p...@gmail.com wrote: On Sun, Nov 22, 2009 at 10:01 AM, David Cournapeau courn...@gmail.com wrote: On Sun, Nov 22, 2009 at 11:45 PM, Charles R Harris

Re: [Numpy-discussion] failure building trunk with mingw

2009-11-22 Thread josef . pktd
On Sun, Nov 22, 2009 at 10:37 AM, josef.p...@gmail.com wrote: On Sun, Nov 22, 2009 at 10:25 AM, David Cournapeau courn...@gmail.com wrote: On Mon, Nov 23, 2009 at 12:14 AM,  josef.p...@gmail.com wrote: On Sun, Nov 22, 2009 at 10:01 AM, David Cournapeau courn...@gmail.com wrote: On Sun, Nov

Re: [Numpy-discussion] failure building trunk with mingw

2009-11-22 Thread josef . pktd
On Sun, Nov 22, 2009 at 10:47 AM, josef.p...@gmail.com wrote: On Sun, Nov 22, 2009 at 10:37 AM,  josef.p...@gmail.com wrote: On Sun, Nov 22, 2009 at 10:25 AM, David Cournapeau courn...@gmail.com wrote: On Mon, Nov 23, 2009 at 12:14 AM,  josef.p...@gmail.com wrote: On Sun, Nov 22, 2009 at

[Numpy-discussion] neighborhood iterator

2009-11-22 Thread Nadav Horesh
I wonder if the neighbourhood iterator can be used as a more efficient replacement for ndimage.generic_filter. Is there a way to use it from cython? Nadav. ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org

Re: [Numpy-discussion] 2to3c: 2to3 for C extensions

2009-11-22 Thread Pauli Virtanen
la, 2009-11-21 kello 20:00 -0500, David Warde-Farley kirjoitti: Guido posted a link to this on Twitter, it might be of interest to people interested in the NumPy Python 3 transition: http://dmalcolm.livejournal.com/3935.html It's doubtful this is a magic bullet (at least, not yet)

Re: [Numpy-discussion] failure building trunk with mingw

2009-11-22 Thread Charles R Harris
On Sun, Nov 22, 2009 at 8:37 AM, josef.p...@gmail.com wrote: On Sun, Nov 22, 2009 at 10:25 AM, David Cournapeau courn...@gmail.com wrote: On Mon, Nov 23, 2009 at 12:14 AM, josef.p...@gmail.com wrote: On Sun, Nov 22, 2009 at 10:01 AM, David Cournapeau courn...@gmail.com wrote: On Sun,

Re: [Numpy-discussion] 2to3c: 2to3 for C extensions

2009-11-22 Thread René Dudfield
On Sun, Nov 22, 2009 at 7:16 PM, Pauli Virtanen p...@iki.fi wrote: la, 2009-11-21 kello 20:00 -0500, David Warde-Farley kirjoitti: Guido posted a link to this on Twitter, it might be of interest to people interested in the NumPy Python 3 transition:      

Re: [Numpy-discussion] failure building trunk with mingw

2009-11-22 Thread Charles R Harris
On Sun, Nov 22, 2009 at 6:28 AM, josef.p...@gmail.com wrote: On Sun, Nov 22, 2009 at 2:35 AM, David Cournapeau courn...@gmail.com wrote: On Wed, Nov 18, 2009 at 6:10 PM, David Cournapeau courn...@gmail.com wrote: On Wed, Nov 18, 2009 at 12:38 AM, josef.p...@gmail.com wrote: Now

Re: [Numpy-discussion] 2to3c: 2to3 for C extensions

2009-11-22 Thread René Dudfield
On Sun, Nov 22, 2009 at 7:28 PM, René Dudfield ren...@gmail.com wrote: On Sun, Nov 22, 2009 at 7:16 PM, Pauli Virtanen p...@iki.fi wrote: la, 2009-11-21 kello 20:00 -0500, David Warde-Farley kirjoitti: Guido posted a link to this on Twitter, it might be of interest to people interested in the

Re: [Numpy-discussion] 2to3c: 2to3 for C extensions

2009-11-22 Thread Pauli Virtanen
su, 2009-11-22 kello 19:28 +0100, René Dudfield kirjoitti: [clip] I've been working on this too... see the previous py3k thread for details of my plan. See http://github.com/illume/numpy3k/tree/work for my (not very much) progress. I don't have time for about a week to do any more work on

Re: [Numpy-discussion] Installing numpy under cygwin

2009-11-22 Thread Olivia Cheronet
Hello, I attempted to install Numpy for my Cygwin python again, by simply executing: python setup.py install However, I now get the following: File numpy/core/setup.py, line 253, in check_mathlib raise EnvironmentError(math library missing; rerun EnvironmentError: math library missing;

Re: [Numpy-discussion] neighborhood iterator

2009-11-22 Thread David Warde-Farley
On 22-Nov-09, at 12:50 PM, Nadav Horesh wrote: I wonder if the neighbourhood iterator can be used as a more efficient replacement for ndimage.generic_filter. Is there a way to use it from cython? Yes, using the NumPy C API, called like any other C function is from Cython. Something

[Numpy-discussion] Numpy on Python3

2009-11-22 Thread Pauli Virtanen
http://github.com/pv/numpy-work/tree/py3k $ mkdir -p $PWD/dist/lib/python3.1/site-packages $ python3 setup.py install --prefix=$PWD/dist $ cd $PWD/dist/lib/python3.1/site-packages python3 Python 3.1.1+ (r311:74480, Oct 11 2009, 20:22:16) [GCC 4.4.1] on linux2 Type help, copyright, credits or

Re: [Numpy-discussion] Numpy on Python3

2009-11-22 Thread David Cournapeau
On Mon, Nov 23, 2009 at 2:35 PM, Pauli Virtanen p...@iki.fi wrote: It might be nice to have this merged in at some point after 1.4.0 (after the most obvious glaring bugs have been fixed), so that we could perhaps start aiming for Python3 compatibility in Numpy 1.5.0. One thing I have on my

Re: [Numpy-discussion] Numpy on Python3

2009-11-22 Thread Charles R Harris
On Sun, Nov 22, 2009 at 10:35 PM, Pauli Virtanen p...@iki.fi wrote: http://github.com/pv/numpy-work/tree/py3k $ mkdir -p $PWD/dist/lib/python3.1/site-packages $ python3 setup.py install --prefix=$PWD/dist $ cd $PWD/dist/lib/python3.1/site-packages python3 Python 3.1.1+ (r311:74480, Oct 11

Re: [Numpy-discussion] Correlation filter

2009-11-22 Thread josef . pktd
On Fri, Nov 20, 2009 at 4:27 PM, josef.p...@gmail.com wrote: On Fri, Nov 20, 2009 at 2:28 PM, Keith Goodman kwgood...@gmail.com wrote: On Fri, Nov 20, 2009 at 11:17 AM,  josef.p...@gmail.com wrote: On Fri, Nov 20, 2009 at 1:51 PM, Keith Goodman kwgood...@gmail.com wrote: def corr3(x, y):    

Re: [Numpy-discussion] Numpy on Python3

2009-11-22 Thread Pierre GM
On Nov 23, 2009, at 12:35 AM, Pauli Virtanen wrote: http://github.com/pv/numpy-work/tree/py3k $ mkdir -p $PWD/dist/lib/python3.1/site-packages $ python3 setup.py install --prefix=$PWD/dist $ cd $PWD/dist/lib/python3.1/site-packages python3 Python 3.1.1+ (r311:74480, Oct 11 2009, 20:22:16)

Re: [Numpy-discussion] Numpy on Python3

2009-11-22 Thread Sturla Molden
Pauli Virtanen skrev: XXX: 3K: numpy.random is disabled for now, uses PyString_* XXX: 3K: numpy.ma is disabled for now -- some issues I thought numpy.random uses Cython? Is it just a matter of recompiling the pyx-file? I remember Dag was working on this a bit: how far did it go?