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
These are old functions that check if an array is Fortran contiguous and not C contiguous. Their output depends on whether relaxed stride checking is in effect of not and they seem to have little use in current numpy.
There are a considerable number of uses across github for both. We could consider deprecating isfortran in favor of flags.fnc, if someone wants to work on this. Then someday we could deprecate flags.fnc too, but it is quite harmless.
Activity
[-]Deprecate isfortran and a.fnc[/-][+]Deprecate isfortran and a.flags.fnc[/+]mattip commentedon Nov 12, 2025
There are a considerable number of uses across github for both. We could consider deprecating
isfortranin favor offlags.fnc, if someone wants to work on this. Then someday we could deprecateflags.fnctoo, but it is quite harmless.Riaz1729 commentedon Sep 20, 2026
I can start working on this!
DEP Deprecate np.isfortran (numpy#6597)
DEP: Deprecate np.isfortran (numpy#6597)
DEP: Deprecate np.isfortran (numpy#6597)
DEP: Deprecate np.isfortran (numpy#6597)
DEP: Deprecate np.isfortran (numpy#6597)
DEP: Deprecate np.isfortran (numpy#6597)
DEP: Deprecate np.isfortran (numpy#6597)
DEP: Deprecate np.isfortran (numpy#6597)