On Mon, Jan 5, 2015 at 9:36 PM, Nathaniel Smith <njs@pobox.com> wrote:
On Mon, Jan 5, 2015 at 7:18 PM, <josef.pktd@gmail.com> wrote:
> On Mon, Jan 5, 2015 at 1:58 PM, Nathaniel Smith <njs@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.)
+1 for 'object array [and matrix] construction should require explicitly specifying dtype= object'


Nathaniel J. Smith
Postdoctoral researcher - Informatics - University of Edinburgh
NumPy-Discussion mailing list