[NumPy-Tickets] [NumPy] #2024: NULL bytes removed from end of string in NumPy array

NumPy Trac numpy-tickets@scipy....
Wed Jan 18 21:54:24 CST 2012


#2024: NULL bytes removed from end of string in NumPy array
------------------------------------+---------------------------------------
 Reporter:  edcjones                |       Owner:  somebody   
     Type:  defect                  |      Status:  new        
 Priority:  normal                  |   Milestone:  Unscheduled
Component:  numpy.core              |     Version:  1.4.1      
 Keywords:  NULL terminated string  |  
------------------------------------+---------------------------------------

Comment(by charris):

 Numpy strings *are* zero terminated. There is no place to put a string
 length for each entry individually, so all the strings are put into slots
 of fixed length and empty space at the end is filled with zeros.

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


More information about the NumPy-Tickets mailing list