[Numpy-discussion] empty chararrays (ticket 1948)

Ralf Gommers ralf.gommers@googlemail....
Sun Mar 25 11:12:12 CDT 2012


In ticket 1948 a backwards compatibility issue with chararray is reported.
Indexing a chararray with [] or a bool array of False used to return [] in
numpy 1.2.1 (consistent with ndarray behavior), but now returns an empty
string. Unfortunately this changed behavior has been present for the 1.5.x
and 1.6.x releases.

So the question is if this should be changed back or not? The change was
likely unintentional; there's no test for it.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/numpy-discussion/attachments/20120325/52b8b84a/attachment.html 

More information about the NumPy-Discussion mailing list