[Numpy-discussion] 1.6: branching and release notes

2011-03-13 Thread Ralf Gommers
Hi all, On Tuesday (~2am GMT) I plan to create the 1.6.x branch and tag the first beta. So please get your last commits for 1.6 in by Monday evening. Also, please review and add to the 1.6.0 release notes. I put in headers for several items that need a few lines in the notes, I hope this can be

[Numpy-discussion] Segfault with python 3.2 structured array non-existent field

2011-03-13 Thread Matthew Brett
Hi, I have this on my OSX 10.6 system and numpy 1.5.1 and current numpy head (30ee1d352): $ python3.2 Python 3.2 (r32:88452, Feb 20 2011, 11:12:31) [GCC 4.2.1 (Apple Inc. build 5664)] on darwin Type help, copyright, credits or license for more information. import numpy as np a = np.zeros((1,),

Re: [Numpy-discussion] Not importing polynomial implementation functions by default

2011-03-13 Thread Charles R Harris
On Sat, Mar 12, 2011 at 10:57 PM, David Warde-Farley warde...@iro.umontreal.ca wrote: On 2011-03-12, at 9:32 PM, Charles R Harris wrote: I'd like to change the polynomial package to only import the Classes, leaving the large number of implementation functions to be imported directly from

Re: [Numpy-discussion] Not importing polynomial implementation functions by default

2011-03-13 Thread Ralf Gommers
On Sun, Mar 13, 2011 at 1:57 PM, David Warde-Farley warde...@iro.umontreal.ca wrote: On 2011-03-12, at 9:32 PM, Charles R Harris wrote: I'd like to change the polynomial package to only import the Classes, leaving the large number of implementation functions to be imported directly from

Re: [Numpy-discussion] import error after compiling from HEAD

2011-03-13 Thread Ralf Gommers
On Sun, Mar 13, 2011 at 6:08 AM, Joshua Holbrook josh.holbr...@gmail.com wrote: Sup y'all, I just installed numpy from github, but when I tried to import it I got some odd errors! What's going on, and how can it be fixed? Are you in the numpy source tree when trying that command? If not, try

Re: [Numpy-discussion] 1.6: branching and release notes

2011-03-13 Thread Pearu Peterson
On Sun, Mar 13, 2011 at 11:22 AM, Ralf Gommers ralf.gomm...@googlemail.comwrote: Hi all, On Tuesday (~2am GMT) I plan to create the 1.6.x branch and tag the first beta. So please get your last commits for 1.6 in by Monday evening. Also, please review and add to the 1.6.0 release notes. I

[Numpy-discussion] Benefit of Intel C compiler

2011-03-13 Thread Mag Gam
Planning to compile Numpy with Intel C compiler (http://www.scipy.org/Installing_SciPy/Linux#head-7ce43956a69ec51c6f2cedd894a4715d5bfff974). I was wondering if there was a benefit. ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org

Re: [Numpy-discussion] [OT] any image io module that works with python3?

2011-03-13 Thread Stéfan van der Walt
On Sat, Mar 12, 2011 at 2:35 PM, Zachary Pincus zachary.pin...@yale.edu wrote: Here's a ctypes interface to FreeImage that I wrote a while back and was since cleaned up (and maintained) by the scikits.image folk:

Re: [Numpy-discussion] [OT] any image io module that works with python3?

2011-03-13 Thread Christoph Gohlke
On 3/12/2011 9:56 PM, Nadav Horesh wrote: This lead to another error probably due to line 68 in map.h. As much as I could trace it, ob_type is a member of PyObject, not of PyTypeObject. I have no clue how to resolve this. Nadav. Line 68 in map.c is excluded by a preprocessor

Re: [Numpy-discussion] Segfault with python 3.2 structured array non-existent field

2011-03-13 Thread Christoph Gohlke
On 3/13/2011 1:57 AM, Matthew Brett wrote: Hi, I have this on my OSX 10.6 system and numpy 1.5.1 and current numpy head (30ee1d352): $ python3.2 Python 3.2 (r32:88452, Feb 20 2011, 11:12:31) [GCC 4.2.1 (Apple Inc. build 5664)] on darwin Type help, copyright, credits or license for more

Re: [Numpy-discussion] [OT] any image io module that works with python3?

2011-03-13 Thread Nadav Horesh
Jest tested the installation (after git clone ...). I had to correct the following lines in _build.py to pass installation: lines 72, and 75 should be: f0 = open(f0,'br') f1 = open(f1,'br') Nadav. From: numpy-discussion-boun...@scipy.org

Re: [Numpy-discussion] Segfault with python 3.2 structured array non-existent field

2011-03-13 Thread Matthew Brett
Hi On Sun, Mar 13, 2011 at 9:54 AM, Christoph Gohlke cgoh...@uci.edu wrote: On 3/13/2011 1:57 AM, Matthew Brett wrote: Hi, I have this on my OSX 10.6 system and numpy 1.5.1 and current numpy head (30ee1d352): $ python3.2 Python 3.2 (r32:88452, Feb 20 2011, 11:12:31) [GCC 4.2.1 (Apple Inc.

Re: [Numpy-discussion] Segfault with python 3.2 structured array non-existent field

2011-03-13 Thread Christoph Gohlke
On 3/13/2011 11:29 AM, Matthew Brett wrote: Hi On Sun, Mar 13, 2011 at 9:54 AM, Christoph Gohlkecgoh...@uci.edu wrote: On 3/13/2011 1:57 AM, Matthew Brett wrote: Hi, I have this on my OSX 10.6 system and numpy 1.5.1 and current numpy head (30ee1d352): $ python3.2 Python 3.2

Re: [Numpy-discussion] Segfault with python 3.2 structured array non-existent field

2011-03-13 Thread Matthew Brett
Hi, On Sun, Mar 13, 2011 at 11:51 AM, Christoph Gohlke cgoh...@uci.edu wrote: On 3/13/2011 11:29 AM, Matthew Brett wrote: Hi On Sun, Mar 13, 2011 at 9:54 AM, Christoph Gohlkecgoh...@uci.edu  wrote: On 3/13/2011 1:57 AM, Matthew Brett wrote: Hi, I have this on my OSX 10.6 system and

Re: [Numpy-discussion] Segfault with python 3.2 structured array non-existent field

2011-03-13 Thread Charles R Harris
On Sun, Mar 13, 2011 at 12:51 PM, Christoph Gohlke cgoh...@uci.edu wrote: On 3/13/2011 11:29 AM, Matthew Brett wrote: Hi On Sun, Mar 13, 2011 at 9:54 AM, Christoph Gohlkecgoh...@uci.edu wrote: On 3/13/2011 1:57 AM, Matthew Brett wrote: Hi, I have this on my OSX 10.6 system and

[Numpy-discussion] ndarray special methods should raise NotImplemented instead of TypeError

2011-03-13 Thread Hoyt Koepke
Apologies for cross posting -- I posted this to the scipy developer list a few days ago, since it's really a development question, but after getting no response I reread my question and realized it was a bit unclear and also was more appropriate for numpy. So here goes. Currently, the numerical

Re: [Numpy-discussion] ndarray special methods should raise NotImplemented instead of TypeError

2011-03-13 Thread Charles R Harris
On Sun, Mar 13, 2011 at 3:24 PM, Hoyt Koepke hoy...@stat.washington.eduwrote: Apologies for cross posting -- I posted this to the scipy developer list a few days ago, since it's really a development question, but after getting no response I reread my question and realized it was a bit unclear

Re: [Numpy-discussion] ndarray special methods should raise NotImplemented instead of TypeError

2011-03-13 Thread Hoyt Koepke
You can also define __array_priority__  in your class. If your class isn't a subclass, then numpy will always call your class methods whether or not your class is on the right or left. Sounds like you don't want to sublass ndarray here so that should work. Excellent! This sounds like exactly

Re: [Numpy-discussion] [OT] any image io module that works with python3?

2011-03-13 Thread Stéfan van der Walt
Hi Nadav On Sun, Mar 13, 2011 at 8:20 PM, Nadav Horesh nad...@visionsense.com wrote: Jest tested the installation (after git clone ...). I had to correct the following lines in _build.py to pass installation: lines 72, and 75 should be:    f0 = open(f0,'br')    f1 = open(f1,'br') Thanks so

Re: [Numpy-discussion] [OT] any image io module that works with python3?

2011-03-13 Thread Christoph Gohlke
Hi Stéfan, I am sending you this off list. I just tried scikits.image from git on Windows. The attached patch fixes some minor build and test issues. Scikits.image.io occasionally seems to shadow Python's io module such that `import gzip` fails. There are 5 test failures like this:

Re: [Numpy-discussion] ndarray special methods should raise NotImplemented instead of TypeError

2011-03-13 Thread Charles R Harris
On Sun, Mar 13, 2011 at 3:53 PM, Hoyt Koepke hoy...@stat.washington.eduwrote: You can also define __array_priority__ in your class. If your class isn't a subclass, then numpy will always call your class methods whether or not your class is on the right or left. Sounds like you don't want

Re: [Numpy-discussion] [OT] any image io module that works with python3?

2011-03-13 Thread Stéfan van der Walt
Hi Christoph On Mon, Mar 14, 2011 at 12:16 AM, Christoph Gohlke cgoh...@uci.edu wrote: I just tried scikits.image from git on Windows. The attached patch fixes some minor build and test issues. Great, thanks so much! Pushed into the repo. Scikits.image.io occasionally seems to shadow

Re: [Numpy-discussion] 1.6: branching and release notes

2011-03-13 Thread Mark Wiebe
On Sun, Mar 13, 2011 at 1:22 AM, Ralf Gommers ralf.gomm...@googlemail.comwrote: Hi all, On Tuesday (~2am GMT) I plan to create the 1.6.x branch and tag the first beta. So please get your last commits for 1.6 in by Monday evening. Also, please review and add to the 1.6.0 release notes. I

Re: [Numpy-discussion] 1.6: branching and release notes

2011-03-13 Thread Robert Kern
On Sun, Mar 13, 2011 at 21:23, Mark Wiebe mwwi...@gmail.com wrote: On Sun, Mar 13, 2011 at 1:22 AM, Ralf Gommers ralf.gomm...@googlemail.com wrote: Hi all, On Tuesday (~2am GMT) I plan to create the 1.6.x branch and tag the first beta. So please get your last commits for 1.6 in by Monday

Re: [Numpy-discussion] 1.6: branching and release notes

2011-03-13 Thread Charles R Harris
On Sun, Mar 13, 2011 at 8:23 PM, Mark Wiebe mwwi...@gmail.com wrote: On Sun, Mar 13, 2011 at 1:22 AM, Ralf Gommers ralf.gomm...@googlemail.com wrote: Hi all, On Tuesday (~2am GMT) I plan to create the 1.6.x branch and tag the first beta. So please get your last commits for 1.6 in by