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