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
As promised, you can now [1] do a runtime check for PyArray_RUNTIME_VERSION >= NPY_2_3_API_VERSION. If this is the case, NPY_MAXARGS is irrelevant (integer number of operands supported).
NumPy always raised an error for you on older versions, but I suppose it may make sense to keep the check to make that error clearer.
Of course, NE_MAXARGS is still used for numexpr internal stack allocations. That could be arbitrarily bumped or refactored away now.
[1] Well, may want to wait a few days for the next nightly (the version macro is also slightly off).
The text was updated successfully, but these errors were encountered:
As promised, you can now [1] do a runtime check for
PyArray_RUNTIME_VERSION >= NPY_2_3_API_VERSION
. If this is the case,NPY_MAXARGS
is irrelevant (integer number of operands supported).NumPy always raised an error for you on older versions, but I suppose it may make sense to keep the check to make that error clearer.
Of course,
NE_MAXARGS
is still used fornumexpr
internal stack allocations. That could be arbitrarily bumped or refactored away now.[1] Well, may want to wait a few days for the next nightly (the version macro is also slightly off).
The text was updated successfully, but these errors were encountered: