[NumPy-Tickets] [NumPy] #1936: loadtxt with nested dtype fails with "ValueError: setting an array element with a sequence"

NumPy Trac numpy-tickets@scipy....
Tue Aug 16 11:39:57 CDT 2011


#1936: loadtxt with nested dtype fails with "ValueError: setting an array element
with a sequence"
--------------------+-------------------------------------------------------
 Reporter:  gerrit  |       Owner:  somebody   
     Type:  defect  |      Status:  new        
 Priority:  normal  |   Milestone:  Unscheduled
Component:  Other   |     Version:  devel      
 Keywords:          |  
--------------------+-------------------------------------------------------

Comment(by gerrit):

 Playing around with 'git bisect' (I'm new here) the culprit appears to be:

 {{{
 4e52c48bd37abdce856033f48d3ce9c0a8c5483f is the first bad commit
 commit 4e52c48bd37abdce856033f48d3ce9c0a8c5483f
 Author: Mark Wiebe <mwwiebe@gmail.com>
 Date:   Sun Jun 19 17:41:40 2011 -0500

     BUG: core: Fix corner case of object array assignment (#1870)

     This general aspect of object arrays is fraught with errors, for
     example, eval(repr(x)) produces a 2 instead of 1 dimensional array
     when given the x in the first example of the bug. This fix at least
     makes the result requested in the bug report work.

 :040000 040000 72c87734eb0f541c0b0d34663702f4bf55d06915
 64fc0029020779a3e535684794c3d2d89cff5868 M      numpy
 bisect run success
 }}}

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/1936#comment:2>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list