On Mon, Jan 5, 2015 at 2:36 PM, Nathaniel Smith <n...@pobox.com> wrote:
> On Mon, Jan 5, 2015 at 7:18 PM, <josef.p...@gmail.com> wrote: > > > > > > > > On Mon, Jan 5, 2015 at 1:58 PM, Nathaniel Smith <n...@pobox.com> wrote: > >> > >> I'm afraid that I really don't understand what you're trying to say. Is > there something that you think numpy should be doing differently? > > > > > > I liked it better when this raised an exception, instead of creating a > rectangular object array. > > Did it really used to raise an exception? Patches accepted :-) (#5303 > is the relevant bug, like Warren points out. From the discussion there > it doesn't look like np.array's handling of non-conformable lists has > any defenders.) > Since I'm usually late in updating numpy, I was for a long time very familiar with the frequent occurence of `ValueError: setting an array element with a sequence.` based on this, it was up to numpy 1.5 https://github.com/scipy/scipy/pull/2631#issuecomment-20898809 "ugly but backwards compatible" :) Josef > > -- > Nathaniel J. Smith > Postdoctoral researcher - Informatics - University of Edinburgh > http://vorpus.org > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http://mail.scipy.org/mailman/listinfo/numpy-discussion >
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion