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
{{ message }}
Repository navigation
segfault in _IsWriteable when data is not owned #481
It seems there are many places that PyArray_Check can be called on a NULL value. Just in arrayobject.c there are PyArray_Size and PyArray_ElementStrides.
Is it worth considering always checking for NULL in PyArray_Check ?
Activity
wence- commentedon Nov 3, 2017
Still broken, FWIW.
mattip commentedon Jan 10, 2018
It seems there are many places that
PyArray_Checkcan be called on aNULLvalue. Just inarrayobject.cthere arePyArray_SizeandPyArray_ElementStrides.Is it worth considering always checking for
NULLinPyArray_Check?BUG,DEP: Fix writeable flag setting for arrays without base