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
BaseFloat._check_scalar does not properly check string values #3586
Notice how the above does not produce a TypeError but a ValueError. I don't think this is intended. This actually lets my tests for a "Subarray" dtype fail (via the invalid_scalar_params field), because I pass the check through to the sub-dtype, i.e. return self.subdtype._check_scalar(data).
Activity
d-v-b commentedon Nov 20, 2025
thanks for this report, I agree that we should be raising a
TypeErrorhere.fix: BaseFloat._check_scalar rejects invalid string values (zarr-deve…
fix: BaseFloat._check_scalar rejects invalid string values (zarr-deve…