[Numpy-discussion] Fwd: [numfocus] Grants up to $3k available to NumFOCUS projects, (sponsored & affiliated)
pav at iki.fi
Mon Mar 27 15:14:59 EDT 2017
Mon, 27 Mar 2017 08:21:37 -0700, Chris Barker kirjoitti:
> On Mon, Mar 27, 2017 at 3:33 AM, Julian Taylor
> <jtaylor.debian at 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.
More information about the NumPy-Discussion