Re: [Numpy-discussion] Changing the size of PyArrayObject_fields (the ndarray c-struct)

2020-11-21 Thread Sebastian Berg
On Sat, 2020-11-21 at 14:42 -0700, Charles R Harris wrote: > On Sat, Nov 21, 2020 at 12:28 PM Matti Picus > wrote: > > > PyArrayObject_fields is the c-struct that underlies ndarray. It is > > defined in ndarraytypes.h [0]. Since version 1.7, we have been > > trying to > > hide it from the public

Re: [Numpy-discussion] Changing the size of PyArrayObject_fields (the ndarray c-struct)

2020-11-21 Thread Charles R Harris
On Sat, Nov 21, 2020 at 12:28 PM Matti Picus wrote: > PyArrayObject_fields is the c-struct that underlies ndarray. It is > defined in ndarraytypes.h [0]. Since version 1.7, we have been trying to > hide it from the public C-API so that we can freely modify it, the > structure has the comment: > >

[Numpy-discussion] Changing the size of PyArrayObject_fields (the ndarray c-struct)

2020-11-21 Thread Matti Picus
PyArrayObject_fields is the c-struct that underlies ndarray. It is defined in ndarraytypes.h [0]. Since version 1.7, we have been trying to hide it from the public C-API so that we can freely modify it, the structure has the comment:  * It has been recommended to use the inline functions defi