Mon, 27 Mar 2017 08:21:37 -0700, Chris Barker kirjoitti:
> On Mon, Mar 27, 2017 at 3:33 AM, Julian Taylor
> <jtaylor.deb...@googlemail.com> wrote:
>
>> - add ascii/latin1 dtype to support a compact python3 string array,
>> deprecate 's' dtype which has different meaning in python2 and 3 This
>> one is probably too big for 3k though.
>
> probably -- but not THAT big -- it seems pretty straightforward to me.
>
> The bigger challenge is deciding what to do -- the bikeshedding -- and
> the backward incompatibility issues. IIRC, when this came up on the
> list, there was nothing like consensus on exactly what to do and how
> to do it.

TBH, I don't see why 's' should be deprecated --- the operation is well-specified (byte strings + null stripping) and has the same meaning in python2 and 3.

Of course, a true 1-byte unicode subset string may be more useful type for some applications, so it could indeed be added.

--
Pauli Virtanen
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@python.org
https://mail.python.org/mailman/listinfo/numpy-discussion

Reply via email to