Re: [Numpy-discussion] GSOC 2013

2013-03-06 Thread Todd
On Mar 5, 2013 7:53 PM, Nathaniel Smith n...@pobox.com wrote: On 4 Mar 2013 23:21, Jaime Fernández del Río jaime.f...@gmail.com wrote: On Mon, Mar 4, 2013 at 2:29 PM, Todd toddr...@gmail.com wrote: 5. Currently dtypes are limited to a set of fixed types, or combinations of these types.

Re: [Numpy-discussion] GSOC 2013

2013-03-06 Thread Francesc Alted
On 3/5/13 7:14 PM, Kurt Smith wrote: On Tue, Mar 5, 2013 at 1:45 AM, Eric Firing efir...@hawaii.edu wrote: On 2013/03/04 9:01 PM, Nicolas Rougier wrote: This made me think of a serious performance limitation of structured dtypes: a structured dtype is always packed, which may lead to

[Numpy-discussion] embedding numpy ImportError: numpy.core.multiarray failed to import

2013-03-06 Thread Sunghwan Choi
Hi, I tried to embedding numpy in C++ but I got ImportError: numpy.core.multiarray failed to import Do you know any ways to solve this problem? I copy my codes and error message Makefile CXX= icpc all: exe clean: rm -rf *.o exe exe: test.o $(CXX) -o exe test.o

[Numpy-discussion] Help trying to fix issue 368 on Github (math functions fail confusingly on long integers (and object arrays generally))

2013-03-06 Thread Dan Blanchard
Hi, I've been trying to take a crack at fixing https://github.com/numpy/numpy/issues/368, and I think I've identified all of the affected functions and even a potential fix, but I'm new to the Python C API and the numpy source, so if anyone has time to look at the discussion on Github and chime

Re: [Numpy-discussion] a question about freeze on numpy 1.7.0

2013-03-06 Thread Gelin Yan
On Mon, Feb 25, 2013 at 4:09 PM, Bradley M. Froehle brad.froe...@gmail.comwrote: I submitted a bug report (and patch) to cx_freeze. You can follow up with them at http://sourceforge.net/p/cx-freeze/bugs/36/. -Brad On Mon, Feb 25, 2013 at 12:06 AM, Gelin Yan dynami...@gmail.com wrote:

Re: [Numpy-discussion] GSOC 2013

2013-03-06 Thread Kurt Smith
On Wed, Mar 6, 2013 at 4:29 AM, Francesc Alted franc...@continuum.io wrote: On 3/5/13 7:14 PM, Kurt Smith wrote: On Tue, Mar 5, 2013 at 1:45 AM, Eric Firing efir...@hawaii.edu wrote: On 2013/03/04 9:01 PM, Nicolas Rougier wrote: This made me think of a serious performance limitation of

[Numpy-discussion] aligned / unaligned structured dtype behavior (was: GSOC 2013)

2013-03-06 Thread Kurt Smith
On Wed, Mar 6, 2013 at 12:12 PM, Kurt Smith kwmsm...@gmail.com wrote: On Wed, Mar 6, 2013 at 4:29 AM, Francesc Alted franc...@continuum.io wrote: I would not run too much. The example above takes 9 bytes to host the structure, while a `aligned=True` will take 16 bytes. I'd rather let the

[Numpy-discussion] Scheduling the 1.7.1 and 1.8 releases

2013-03-06 Thread Charles R Harris
Hi All, There are now some 14 non-merge commits in the 1.7.x branch including the critical diagonal leak fix. I think there is maybe one more critical backport and perhaps several low priority fixes, documentation and such, but I think we should start up the release process with a goal of getting

Re: [Numpy-discussion] GSOC 2013

2013-03-06 Thread Eric Firing
On 2013/03/05 8:14 AM, Kurt Smith wrote: On Tue, Mar 5, 2013 at 1:45 AM, Eric Firing efir...@hawaii.edu wrote: On 2013/03/04 9:01 PM, Nicolas Rougier wrote: This made me think of a serious performance limitation of structured dtypes: a structured dtype is always packed, which may lead to

Re: [Numpy-discussion] scipy.weave + nose testing no longer works with numpy 1.7.0

2013-03-06 Thread Ralf Gommers
On Wed, Mar 6, 2013 at 5:14 PM, Marcel Stimberg marcelcoding+nu...@gmail.com wrote: Hi, I noticed that our unit tests running under nose and using scipy.weave started to fail with numpy 1.7.0 because of a change in numpy.distutils.exec_command (called by scipy.weave) which now assumes that

Re: [Numpy-discussion] Scheduling the 1.7.1 and 1.8 releases

2013-03-06 Thread Nathaniel Smith
On Wed, Mar 6, 2013 at 6:43 PM, Charles R Harris charlesr.har...@gmail.com wrote: Hi All, There are now some 14 non-merge commits in the 1.7.x branch including the critical diagonal leak fix. I think there is maybe one more critical backport and perhaps several low priority fixes,

[Numpy-discussion] Numpy deprecation schedule

2013-03-06 Thread Nathaniel Smith
A number of items on the 1.8 todo list are reminders to remove things that we deprecated in 1.7, and said we would remove in 1.8, e.g.: https://github.com/numpy/numpy/issues/596 https://github.com/numpy/numpy/issues/294 But, since 1.8 is so soon after 1.7, we probably shouldn't actually do

Re: [Numpy-discussion] Numpy deprecation schedule

2013-03-06 Thread Frédéric Bastien
That sound good. To be sure, the now mean the first release that include the deprecation, in that case NumPy 1.7? Fred On Wed, Mar 6, 2013 at 3:09 PM, Nathaniel Smith n...@pobox.com wrote: A number of items on the 1.8 todo list are reminders to remove things that we deprecated in 1.7, and said

Re: [Numpy-discussion] Scheduling the 1.7.1 and 1.8 releases

2013-03-06 Thread Ralf Gommers
On Wed, Mar 6, 2013 at 9:06 PM, Nathaniel Smith n...@pobox.com wrote: On Wed, Mar 6, 2013 at 6:43 PM, Charles R Harris charlesr.har...@gmail.com wrote: Hi All, There are now some 14 non-merge commits in the 1.7.x branch including the critical diagonal leak fix. I think there is maybe

Re: [Numpy-discussion] Implementing a find first style function

2013-03-06 Thread Benjamin Root
On Tue, Mar 5, 2013 at 9:15 AM, Phil Elson pelson@gmail.com wrote: The ticket https://github.com/numpy/numpy/issues/2269 discusses the possibility of implementing a find first style function which can optimise the process of finding the first value(s) which match a predicate in a given 1D

Re: [Numpy-discussion] Numpy deprecation schedule

2013-03-06 Thread Ralf Gommers
On Wed, Mar 6, 2013 at 9:38 PM, Nathaniel Smith n...@pobox.com wrote: On Wed, Mar 6, 2013 at 8:21 PM, Frédéric Bastien no...@nouiz.org wrote: That sound good. To be sure, the now mean the first release that include the deprecation, in that case NumPy 1.7? Yes. +1 $ git add

Re: [Numpy-discussion] Numpy deprecation schedule

2013-03-06 Thread Nathaniel Smith
On Wed, Mar 6, 2013 at 9:24 PM, Ralf Gommers ralf.gomm...@gmail.com wrote: On Wed, Mar 6, 2013 at 9:38 PM, Nathaniel Smith n...@pobox.com wrote: On Wed, Mar 6, 2013 at 8:21 PM, Frédéric Bastien no...@nouiz.org wrote: That sound good. To be sure, the now mean the first release that include

Re: [Numpy-discussion] aligned / unaligned structured dtype behavior (was: GSOC 2013)

2013-03-06 Thread Sebastian Berg
On Wed, 2013-03-06 at 12:42 -0600, Kurt Smith wrote: On Wed, Mar 6, 2013 at 12:12 PM, Kurt Smith kwmsm...@gmail.com wrote: On Wed, Mar 6, 2013 at 4:29 AM, Francesc Alted franc...@continuum.io wrote: I would not run too much. The example above takes 9 bytes to host the structure, while

Re: [Numpy-discussion] Numpy deprecation schedule

2013-03-06 Thread Nathaniel Smith
On Wed, Mar 6, 2013 at 10:33 PM, Robert Kern robert.k...@gmail.com wrote: On Wed, Mar 6, 2013 at 8:09 PM, Nathaniel Smith n...@pobox.com wrote: A number of items on the 1.8 todo list are reminders to remove things that we deprecated in 1.7, and said we would remove in 1.8, e.g.:

Re: [Numpy-discussion] Numpy deprecation schedule

2013-03-06 Thread Robert Kern
On Wed, Mar 6, 2013 at 10:45 PM, Nathaniel Smith n...@pobox.com wrote: On Wed, Mar 6, 2013 at 10:33 PM, Robert Kern robert.k...@gmail.com wrote: On Wed, Mar 6, 2013 at 8:09 PM, Nathaniel Smith n...@pobox.com wrote: A number of items on the 1.8 todo list are reminders to remove things that we

Re: [Numpy-discussion] Numpy deprecation schedule

2013-03-06 Thread Nathaniel Smith
On Wed, Mar 6, 2013 at 10:53 PM, Robert Kern robert.k...@gmail.com wrote: On Wed, Mar 6, 2013 at 10:45 PM, Nathaniel Smith n...@pobox.com wrote: On Wed, Mar 6, 2013 at 10:33 PM, Robert Kern robert.k...@gmail.com wrote: On Wed, Mar 6, 2013 at 8:09 PM, Nathaniel Smith n...@pobox.com wrote: A

Re: [Numpy-discussion] Numpy deprecation schedule

2013-03-06 Thread Robert Kern
On Wed, Mar 6, 2013 at 10:56 PM, Nathaniel Smith n...@pobox.com wrote: On Wed, Mar 6, 2013 at 10:53 PM, Robert Kern robert.k...@gmail.com wrote: On Wed, Mar 6, 2013 at 10:45 PM, Nathaniel Smith n...@pobox.com wrote: On Wed, Mar 6, 2013 at 10:33 PM, Robert Kern robert.k...@gmail.com wrote: On

Re: [Numpy-discussion] polyfit with fixed points

2013-03-06 Thread Jaime Fernández del Río
On Tue, Mar 5, 2013 at 5:23 AM, Charles R Harris charlesr.har...@gmail.comwrote: On Tue, Mar 5, 2013 at 12:41 AM, Jaime Fernández del Río jaime.f...@gmail.com wrote: On Mon, Mar 4, 2013 at 8:37 PM, Charles R Harris charlesr.har...@gmail.com wrote: There are actually seven versions of

Re: [Numpy-discussion] polyfit with fixed points

2013-03-06 Thread Charles R Harris
On Wed, Mar 6, 2013 at 4:52 PM, Jaime Fernández del Río jaime.f...@gmail.com wrote: On Tue, Mar 5, 2013 at 5:23 AM, Charles R Harris charlesr.har...@gmail.com wrote: On Tue, Mar 5, 2013 at 12:41 AM, Jaime Fernández del Río jaime.f...@gmail.com wrote: On Mon, Mar 4, 2013 at 8:37 PM,