[NumPy-Tickets] [NumPy] #1552: "fixed-length" strings automatically truncate right-side \x00 bytes

NumPy Trac numpy-tickets@scipy....
Wed Jul 28 16:28:32 CDT 2010

#1552: "fixed-length" strings automatically truncate right-side \x00 bytes
 Reporter:  chrismurf   |       Owner:  somebody      
     Type:  defect      |      Status:  needs_decision
 Priority:  normal      |   Milestone:  Unscheduled   
Component:  numpy.core  |     Version:  1.3.0         
 Keywords:              |  
Changes (by pv):

  * status:  new => needs_decision


 Inconsistent, maybe, but it has always worked like this, and changing it
 now has backward compatibility concerns.

 The full data is of course in the array, the issue is what `__str__`,
 `__repr__` and scalar-producing indexing returns. `.tostring()` on the
 array or a 0-d sub-array returns the full data, though.

 It's probably best to raise the issue on the mailing list.

Ticket URL: <http://projects.scipy.org/numpy/ticket/1552#comment:1>
NumPy <http://projects.scipy.org/numpy>
My example project

More information about the NumPy-Tickets mailing list