[Numpy-discussion] Re: pickling dtype values

2023-11-21 Thread Sebastien Binet
thanks Robert. the `False` `True` confused me (although I inferred they were connected to the `__init__` signature) because changing their values in _e.g._ `np.dtype("i4", True, False)` didn't change the resulting pickled state :} and thanks for the pointer to the `dtype` C-code (and its name).

[Numpy-discussion] pickling dtype values

2023-11-20 Thread Sebastien Binet
hi there, I have written a Go package[1] that can read/write simple arrays in the numpy file format [2]. when I wrote it, it was for simple interoperability use cases, but now people would like to be able to read back ragged-arrays[3]. unless I am mistaken, this means I need to interpret pieces