[Numpy-discussion] some question on new dtype

Travis Oliphant oliphant.travis at ieee.org
Wed Jan 25 00:24:01 CST 2006


N. Volbers wrote:

> 4) In the example above, printing any of the strings via 'print' will 
> yield the characters and then the characters up to the string size 
> filled up with \x00, e.g.
>
>  u'Bill\x00\x00\x00\x00\x00\x00\x00.... (30 characters total)'
>
> Why doesn't 'prin't terminate the output when the first \x00 is reached ?

O.K.  I finally broke down and fixed this in the SVN version.    Perhaps 
people can try it out for bugs.


-Travis





More information about the Numpy-discussion mailing list