[Numpy-tickets] [NumPy] #659: Some strings containing zeros are displayed incorrectly.
NumPy
numpy-tickets@scipy....
Wed Feb 13 08:49:00 CST 2008
#659: Some strings containing zeros are displayed incorrectly.
---------------------+------------------------------------------------------
Reporter: charris | Owner: somebody
Type: defect | Status: new
Priority: low | Milestone: 1.0.5
Component: Other | Version: none
Severity: normal | Keywords:
---------------------+------------------------------------------------------
The array display routine has some problems when it is showing strings
containing zeros.
{{{
In [8]: array(["\x00\x50","\x50\x50"])
Out[8]:
array(['\x00P', 'PP'],
dtype='|S2')
In [9]: array(["\x00\x00","\x50\x50"])
Out[9]:
array(['', 'PP'],
dtype='|S2')
}}}
--
Ticket URL: <http://scipy.org/scipy/numpy/ticket/659>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list