We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b235ff4 commit 1ef2b00Copy full SHA for 1ef2b00
array_api_compat/common/_helpers.py
@@ -871,7 +871,7 @@ def is_lazy_array(x) -> bool:
871
return False
872
# The Array API standard dictactes that __bool__ should raise TypeError if the
873
# output cannot be defined.
874
- # Here we're more lenient and also allow for e.g. NotImplementedError.
+ # Here we're more lenient and allow for it to raise anything else, e.g. like Dask does.
875
except Exception:
876
return True
877
0 commit comments