[Numpy-discussion] np.delete fix

2012-09-20 Thread Sebastian Berg
Hey, I have written a small PR, to fix np.delete, since it would change the behavior a little (to the better IMO) I think I should also write to the list? So here is the problem with np.delete: 1. When using slices with negative strides, it does not work (best case) or give even wrong results. 2.

Re: [Numpy-discussion] tests for casting table? (was: Numpy 1.7b1 API change cause big trouble)

2012-09-20 Thread Frédéric Bastien
Hi, Finally, the change about the casting rule was done in NumPy 1.6. It is our test that checked specifically for numpy 1.6 behavior. But adding the test to make sure it don't change is an excellent idea. Fred On Thu, Sep 20, 2012 at 7:30 PM, Charles R Harris wrote: > > > On Thu, Sep 20, 2012

Re: [Numpy-discussion] tests for casting table? (was: Numpy 1.7b1 API change cause big trouble)

2012-09-20 Thread Charles R Harris
On Thu, Sep 20, 2012 at 2:20 PM, Travis Oliphant wrote: > Here are a couple of scripts that might help (I used them to compare > casting tables between various versions of NumPy): > > Casting Table Creation Script > > import numpy as np > > operators = np.set_numeric_ops()

Re: [Numpy-discussion] Fwd: Package: scipy-0.11.0-0.1.rc2.fc18 Tag: f18-updates-candidate Status: failed Built by: orion

2012-09-20 Thread Orion Poplawski
On 09/20/2012 04:04 PM, Nathaniel Smith wrote: > On Thu, Sep 20, 2012 at 10:56 PM, Orion Poplawski wrote: >> This is a plea for some help. We've been having trouble getting scipy to >> pass all of the tests in the Fedora 18 build with python 3.3 (although it >> seems to build okay in Fedora 19).

Re: [Numpy-discussion] Fwd: Package: scipy-0.11.0-0.1.rc2.fc18 Tag: f18-updates-candidate Status: failed Built by: orion

2012-09-20 Thread Nathaniel Smith
On Thu, Sep 20, 2012 at 10:56 PM, Orion Poplawski wrote: > This is a plea for some help. We've been having trouble getting scipy to > pass all of the tests in the Fedora 18 build with python 3.3 (although it > seems to build okay in Fedora 19). Below are the logs of the build. There > appears t

[Numpy-discussion] Fwd: Package: scipy-0.11.0-0.1.rc2.fc18 Tag: f18-updates-candidate Status: failed Built by: orion

2012-09-20 Thread Orion Poplawski
This is a plea for some help. We've been having trouble getting scipy to pass all of the tests in the Fedora 18 build with python 3.3 (although it seems to build okay in Fedora 19). Below are the logs of the build. There appears to be some kind of memory corruption that manifests itself a lit

Re: [Numpy-discussion] Regression: in-place operations (possibly intentional)

2012-09-20 Thread Nathaniel Smith
On Wed, Sep 19, 2012 at 1:08 AM, Charles R Harris wrote: > > > The relevant setting is in numpy/core/include/numpy/ndarraytypes.h > > #define NPY_DEFAULT_ASSIGN_CASTING NPY_SAME_KIND_CASTING > > I think that if we want to raise a warning we could define a new rule, > > NPY_WARN_SAME_KIND_CASTING

Re: [Numpy-discussion] tests for casting table? (was: Numpy 1.7b1 API change cause big trouble)

2012-09-20 Thread Travis Oliphant
Here are a couple of scripts that might help (I used them to compare casting tables between various versions of NumPy): Casting Table Creation Script import numpy as np operators = np.set_numeric_ops().values() types = '?bhilqpBHILQPfdgFDGO' to_check = ['add', 'divide',

Re: [Numpy-discussion] tests for casting table? (was: Numpy 1.7b1 API change cause big trouble)

2012-09-20 Thread Nathaniel Smith
On Mon, Sep 17, 2012 at 10:22 AM, Matthew Brett wrote: > Hi, > > On Sun, Sep 9, 2012 at 6:12 PM, Frédéric Bastien wrote: >> The third is releated to change to the casting rules in numpy. Before >> a scalar complex128 * vector float32 gived a vector of dtype >> complex128. Now it give a vector of

Re: [Numpy-discussion] ANN: NumPy 1.7.0b2 release

2012-09-20 Thread Ondřej Čertík
On Thu, Sep 20, 2012 at 12:00 PM, Nathaniel Smith wrote: > On Thu, Sep 20, 2012 at 3:33 PM, Ondřej Čertík > wrote: >> On Thu, Sep 20, 2012 at 4:50 AM, Richard Hattersley >> wrote: >>> Hi, >>> >>> [First of all - thanks to everyone involved in the 1.7 release. Especially >>> Ondřej - it takes a

Re: [Numpy-discussion] ANN: NumPy 1.7.0b2 release

2012-09-20 Thread Nathaniel Smith
On Thu, Sep 20, 2012 at 3:33 PM, Ondřej Čertík wrote: > On Thu, Sep 20, 2012 at 4:50 AM, Richard Hattersley > wrote: >> Hi, >> >> [First of all - thanks to everyone involved in the 1.7 release. Especially >> Ondřej - it takes a lot of time & energy to coordinate something like this.] >> >> Is the

Re: [Numpy-discussion] ANN: NumPy 1.7.0b2 release

2012-09-20 Thread Ondřej Čertík
On Thu, Sep 20, 2012 at 4:50 AM, Richard Hattersley wrote: > Hi, > > [First of all - thanks to everyone involved in the 1.7 release. Especially > Ondřej - it takes a lot of time & energy to coordinate something like this.] > > Is there an up to date release schedule anywhere? The trac milestone st

Re: [Numpy-discussion] ANN: NumPy 1.7.0b2 release

2012-09-20 Thread Richard Hattersley
Hi, [First of all - thanks to everyone involved in the 1.7 release. Especially Ondřej - it takes a lot of time & energy to coordinate something like this.] Is there an up to date release schedule anywhere? The trac milestone still references June. Regards, Richard Hattersley On 20 September 201