[Numpy-discussion] Setting custom dtypes and 1.14

Chris Barker - NOAA Federal chris.barker at noaa.gov
Thu Jan 25 20:53:39 EST 2018


> On Jan 25, 2018, at 4:06 PM, Allan Haldane <allanhaldane at gmail.com> wrote:

>> 1) This is a known change with good reason?

> . The
> change occurred because the old assignment behavior was dangerous, and
> was not doing what you thought.

OK, that’s a good reason!

>> A) improve the error message.
>
> Good idea. I'll see if we can do it for 1.14.1.

What do folks think about a totuple() method — even before this I’ve
wanted that. But in this case, it seems particularly useful.

-CHB


More information about the NumPy-Discussion mailing list