You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
data->aip goes on to be passed to PyArray_ArrFuncs::getitem in VOID_to_OBJECT , even though it is not attached to the actual array that is being copied from.
I'd assumed the contract of PyArray_ArrFuncs::getitem was that the aip argument was always the container of the passed ip argument, but it seems we violate that.
The text was updated successfully, but these errors were encountered:
Raised in the comments of #11669.
The offending code is:
numpy/numpy/core/src/multiarray/dtype_transfer.c
Lines 1436 to 1489 in da5eaf9
data->aip
goes on to be passed toPyArray_ArrFuncs::getitem
inVOID_to_OBJECT
, even though it is not attached to the actual array that is being copied from.I'd assumed the contract of
PyArray_ArrFuncs::getitem
was that theaip
argument was always the container of the passedip
argument, but it seems we violate that.The text was updated successfully, but these errors were encountered: