MAINT: array types: make compliance_scipy
more strict
#19276
Labels
array types
Items related to array API support and input array validation (see gh-18286)
maintenance
Items related to regular maintenance tasks
Milestone
Following gh-19187, there is desire to restrict the types of array we accept. I'm collecting the relevant comments here for future reference when a PR wants to deal with this. A test in gh-19260 which involves a string dtype is tripping us up.
@rgommers:
@mdhaber:
@rgommers:
Related to this is the possibility of optional parameters in
array_namespace
andcompliance_scipy
, oras_xparray
, which could eventually eliminate the need forscipy._lib._util._asarray_validated
(used inlinalg
). Here are its optional parameters:The text was updated successfully, but these errors were encountered: