thouis / numpy-trac-migration

numpy Trac to github issues migration
2 stars 3 forks source link

numpy.core.records.fromrecords fails for zero length lists (Trac #2123) #5919

Open numpy-gitbot opened 12 years ago

numpy-gitbot commented 12 years ago

Original ticket http://projects.scipy.org/numpy/ticket/2123 on 2012-05-01 by trac user ktegan, assigned to unknown.

I have a patch that lets fromrecords handle zero length lists. If the list is length zero and dtype and formats are both None then a ValueError is raised.

numpy-gitbot commented 12 years ago

Attachment added by trac user ktegan on 2012-05-01: fromrecords_zero_len_fix.patch