[Numpy-discussion] proposed change to recarray access

2015-01-14 Thread Allan Haldane
Hello all, I've submitted a pull request on github which changes how string values in recarrays are returned, which may break old code. https://github.com/numpy/numpy/pull/5454 See also: https://github.com/numpy/numpy/issues/3993 Previously, recarray fields of type 'S' or 'U' (ie, strings) would

Re: [Numpy-discussion] linspace handling of extra return

2015-01-14 Thread Chris Barker
On Tue, Jan 13, 2015 at 6:02 PM, Benjamin Root wrote: > So, raise a ValueError when it used to return (mostly) correct results? > my understanding is that it was NOT returning mostly correct results, it was returning completely different results for those special values: a 2-tuple in most cases,

Re: [Numpy-discussion] linspace handling of extra return

2015-01-14 Thread Charles R Harris
On Tue, Jan 13, 2015 at 7:02 PM, Benjamin Root wrote: > So, raise a ValueError when it used to return (mostly) correct results? > For some reason, I don't think people would appreciate that. > > Ben Root > On Jan 13, 2015 5:59 PM, "Chris Barker" wrote: > >> On Tue, Jan 13, 2015 at 7:23 AM, Benja