[Numpy-discussion] numpy.arrange not returning expected results (bug?)

2012-10-17 Thread Simon Lieschke
Hi, I've discovered calling numpy.arange(1.1, 17.1) and numpy(1.1, 16.1) both return the same results. Could this be a numpy bug, or is there some behaviour I'm possibly not aware of here? I've pasted in the results of an interactive Python session comparing and contrasting these with some other

Re: [Numpy-discussion] how is y += x computed when y.strides = (0, 8) and x.strides=(16, 8) ?

2012-10-17 Thread David Cournapeau
On Wed, Oct 17, 2012 at 11:38 AM, Sebastian Walter wrote: > I'd like to have a look at the implementation of iadd in numpy, > but I'm having a real hard time to find the corresponding code. > > I'm basically stuck at > https://github.com/numpy/numpy/blob/master/numpy/core/src/multiarray/number.c#L

Re: [Numpy-discussion] Issue tracking

2012-10-17 Thread Ralf Gommers
On Tue, Oct 16, 2012 at 11:54 PM, Nathaniel Smith wrote: > On Tue, Oct 16, 2012 at 9:06 PM, Thouis (Ray) Jones > wrote: > > On Sun, Oct 7, 2012 at 10:15 AM, Thouis (Ray) Jones > wrote: > >> I plan to import all the Trac issues to github by the end of this > >> week. I want to get an up-to-date

Re: [Numpy-discussion] A change with minor compatibility questions

2012-10-17 Thread Travis Oliphant
On Oct 17, 2012, at 12:48 PM, Dag Sverre Seljebotn wrote: > On 10/17/2012 06:56 PM, Dag Sverre Seljebotn wrote: >> On 10/17/2012 05:22 PM, Travis Oliphant wrote: >>> Hey all, >>> >>> https://github.com/numpy/numpy/pull/482 >>> >>> is a pull request that changes the hash function for numpy void

Re: [Numpy-discussion] A change with minor compatibility questions

2012-10-17 Thread Dag Sverre Seljebotn
On 10/17/2012 06:56 PM, Dag Sverre Seljebotn wrote: > On 10/17/2012 05:22 PM, Travis Oliphant wrote: >> Hey all, >> >> https://github.com/numpy/numpy/pull/482 >> >> is a pull request that changes the hash function for numpy void >> scalars. These are the objects returned from fully indexing a >>

Re: [Numpy-discussion] A change with minor compatibility questions

2012-10-17 Thread Dag Sverre Seljebotn
On 10/17/2012 05:22 PM, Travis Oliphant wrote: > Hey all, > > https://github.com/numpy/numpy/pull/482 > > is a pull request that changes the hash function for numpy void > scalars. These are the objects returned from fully indexing a > structured array: array[i] if array is a 1-d structured arr

Re: [Numpy-discussion] A change with minor compatibility questions

2012-10-17 Thread Gael Varoquaux
On Wed, Oct 17, 2012 at 10:22:28AM -0500, Travis Oliphant wrote: > There is a small chance this will break someone's code if they relied on this > behavior. I don't believe anyone is currently relying on this behavior -- but > I've been proven wrong before. What do people on this list think?

[Numpy-discussion] A change with minor compatibility questions

2012-10-17 Thread Travis Oliphant
Hey all, https://github.com/numpy/numpy/pull/482 is a pull request that changes the hash function for numpy void scalars. These are the objects returned from fully indexing a structured array: array[i] if array is a 1-d structured array. Currently their hash function just hashes the poin

Re: [Numpy-discussion] how is y += x computed when y.strides = (0, 8) and x.strides=(16, 8) ?

2012-10-17 Thread Sebastian Walter
I'd like to have a look at the implementation of iadd in numpy, but I'm having a real hard time to find the corresponding code. I'm basically stuck at https://github.com/numpy/numpy/blob/master/numpy/core/src/multiarray/number.c#L487 Could someone give me a pointer where to find it? Respectively,