Re: [Numpy-discussion] Remove current 1.7 branch?

2012-07-18 Thread Ralf Gommers
On Thu, Jul 12, 2012 at 1:54 PM, Nathaniel Smith wrote: > On Thu, Jul 12, 2012 at 12:48 PM, Benjamin Root wrote: > > > > > > On Thursday, July 12, 2012, Thouis (Ray) Jones wrote: > >> > >> On Thu, Jul 12, 2012 at 1:28 AM, Charles R Harris > >> wrote: > >> > Hi All, > >> > > >> > Travis and I ag

Re: [Numpy-discussion] Pull Requests I'm planning to merge

2012-07-18 Thread Frédéric Bastien
Hi, On Tue, Jul 17, 2012 at 10:20 PM, Travis Oliphant wrote: > > On Jul 17, 2012, at 6:48 PM, Nathaniel Smith wrote: > >> On Tue, Jul 17, 2012 at 9:56 PM, Travis Oliphant wrote: >>> >>> I would like to merge the following pull requests sometime today: >>> >>> * 326 -- inplace increment function

Re: [Numpy-discussion] Segfault in mingw in test_arrayprint.TestComplexArray

2012-07-18 Thread Ondřej Čertík
Hi Ralf, On Wed, Jul 18, 2012 at 7:25 PM, Ralf Gommers wrote: > > > On Wed, Jul 18, 2012 at 1:24 PM, Ondřej Čertík > wrote: >> >> Hi, >> >> I managed to compile NumPy in MinGW under Wine in Ubuntu 11.10 and >> here is a full log of the tests: >> >> https://gist.github.com/3135607 >> >> It fails

Re: [Numpy-discussion] Proposed change in genfromtxt(..., comments='#', names=True) behaviour

2012-07-18 Thread Travis Vaught
On Jul 17, 2012, at 10:47 AM, Nathaniel Smith wrote: > > Not that there are likely to be people using skip_header=True as an > alias for skip_header=1, but if they were it would currently work. I write messy code like that all the time. Best, Travis __

Re: [Numpy-discussion] Finished maintenance/1.7.x branch

2012-07-18 Thread Nathaniel Smith
On Wed, Jul 18, 2012 at 6:12 PM, Ralf Gommers wrote: > > > On Wed, Jul 18, 2012 at 5:29 PM, David Cournapeau > wrote: >> >> On Wed, Jul 18, 2012 at 3:17 PM, Travis Oliphant >> wrote: >> > I don't have a strong preference. Which one do others prefer? >> > >> >> We've used 2) in the past, and I

Re: [Numpy-discussion] Segfault in mingw in test_arrayprint.TestComplexArray

2012-07-18 Thread Ralf Gommers
On Wed, Jul 18, 2012 at 1:24 PM, Ondřej Čertík wrote: > Hi, > > I managed to compile NumPy in MinGW under Wine in Ubuntu 11.10 and > here is a full log of the tests: > > https://gist.github.com/3135607 > > It fails at the test test_str (test_arrayprint.TestComplexArray) with > a segfault like this

Re: [Numpy-discussion] Finished maintenance/1.7.x branch

2012-07-18 Thread Ralf Gommers
On Wed, Jul 18, 2012 at 5:29 PM, David Cournapeau wrote: > On Wed, Jul 18, 2012 at 3:17 PM, Travis Oliphant > wrote: > > I don't have a strong preference. Which one do others prefer? > > > > We've used 2) in the past, and I don't think Ralf changed this when he > took over release maintenance.

Re: [Numpy-discussion] Finished maintenance/1.7.x branch

2012-07-18 Thread David Cournapeau
On Wed, Jul 18, 2012 at 3:17 PM, Travis Oliphant wrote: > I don't have a strong preference. Which one do others prefer? > We've used 2) in the past, and I don't think Ralf changed this when he took over release maintenance. David ___ NumPy-Discussion

Re: [Numpy-discussion] "Symbol table not found" compiling numpy from git repository on Windows

2012-07-18 Thread David Cournapeau
On Wed, Jul 18, 2012 at 11:38 AM, Ondřej Čertík wrote: > On Wed, Jul 18, 2012 at 12:30 PM, Ondřej Čertík > wrote: >> On Wed, Jul 18, 2012 at 2:20 AM, Ondřej Čertík >> wrote: >>> On Thu, Jan 5, 2012 at 8:22 PM, John Salvatier >>> wrote: Hello, I'm trying to compile numpy on Wind

Re: [Numpy-discussion] numpy.complex

2012-07-18 Thread Scott Sinclair
On 18 July 2012 15:14, Molinaro Céline wrote: > Hello, > > In [2]: numpy.real(arange(3)) > Out[2]: array([0, 1, 2]) > In [3]: numpy.complex(arange(3)) > TypeError: only length-1 arrays can be converted to Python scalars I think you're looking for the dtype keyword to the ndarray constructor: imp

Re: [Numpy-discussion] Finished maintenance/1.7.x branch

2012-07-18 Thread Travis Oliphant
I don't have a strong preference. Which one do others prefer? Travis -- Travis Oliphant (on a mobile) 512-826-7480 On Jul 18, 2012, at 9:06 AM, Nathaniel Smith wrote: > On Wed, Jul 18, 2012 at 7:09 AM, Travis Oliphant wrote: >> >> Hey all, >> >> We are going to work on a beta release on

Re: [Numpy-discussion] Finished maintenance/1.7.x branch

2012-07-18 Thread Nathaniel Smith
On Wed, Jul 18, 2012 at 7:09 AM, Travis Oliphant wrote: > > Hey all, > > We are going to work on a beta release on the 1.7.x branch.The master is > open again for changes for 1.8.x. There will be some work on the 1.7.x > branch to fix bugs including bugs that are already reported but have

Re: [Numpy-discussion] "Symbol table not found" compiling numpy from git repository on Windows

2012-07-18 Thread Nathaniel Smith
On Wed, Jul 18, 2012 at 11:38 AM, Ondřej Čertík wrote: > Now things work and start compiling. Any ideas what is going on here? > Why is it trying to "build the msvcr" library? I believe that it's actually trying to link to the msvcr library (which requires first creating some file that describes

Re: [Numpy-discussion] Lazy imports again

2012-07-18 Thread Friedrich Romstedt
A.S.: Some forewords, below the first paragraphs are annotated after I got to the conclusion at the end of the email; read these annotation in square brackets as if it were footnotes. The main point to grasp and keep in mind for me was, when it comes to package hierarchies, that "import package.

Re: [Numpy-discussion] numpy.complex

2012-07-18 Thread Henry Gomersall
On Wed, 2012-07-18 at 15:14 +0200, Molinaro Céline wrote: > In [2]: numpy.real(arange(3)) > Out[2]: array([0, 1, 2]) > In [3]: numpy.complex(arange(3)) > TypeError: only length-1 arrays can be converted to Python scalars > > > Are there any reasons why numpy.complex doesn't work on arrays? > Shou

[Numpy-discussion] numpy.complex

2012-07-18 Thread Molinaro Céline
Hello, In [2]: numpy.real(arange(3)) Out[2]: array([0, 1, 2]) In [3]: numpy.complex(arange(3)) TypeError: only length-1 arrays can be converted to Python scalars Are there any reasons why numpy.complex doesn't work on arrays? Should it be bug reported? Thanks for your help C. Molinaro

[Numpy-discussion] Segfault in mingw in test_arrayprint.TestComplexArray

2012-07-18 Thread Ondřej Čertík
Hi, I managed to compile NumPy in MinGW under Wine in Ubuntu 11.10 and here is a full log of the tests: https://gist.github.com/3135607 It fails at the test test_str (test_arrayprint.TestComplexArray) with a segfault like this: test_str (test_arrayprint.TestComplexArray) ... wine: Unhandled pa

Re: [Numpy-discussion] "Symbol table not found" compiling numpy from git repository on Windows

2012-07-18 Thread Ondřej Čertík
On Wed, Jul 18, 2012 at 12:30 PM, Ondřej Čertík wrote: > On Wed, Jul 18, 2012 at 2:20 AM, Ondřej Čertík > wrote: >> On Thu, Jan 5, 2012 at 8:22 PM, John Salvatier >> wrote: >>> Hello, >>> >>> I'm trying to compile numpy on Windows 7 using the command: "python setup.py >>> config --compiler=ming

Re: [Numpy-discussion] "Symbol table not found" compiling numpy from git repository on Windows

2012-07-18 Thread Ondřej Čertík
On Wed, Jul 18, 2012 at 2:20 AM, Ondřej Čertík wrote: > On Thu, Jan 5, 2012 at 8:22 PM, John Salvatier > wrote: >> Hello, >> >> I'm trying to compile numpy on Windows 7 using the command: "python setup.py >> config --compiler=mingw32 build" but I get an error about a symbol table not >> found. An