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
Production hardening: input validation, DRY memo, import efficiency
- Add ShapeMemo.snapshot()/restore() to eliminate duplicated 10-line
save/restore pattern in _StructChecker and _ArrayLikeChecker
- Validate `casting` parameter in make_array_like_type and
make_scalar_like_type (reject invalid strings early)
- Validate `byteorder` parameter in DtypeSpec.__post_init__
- Move XLikeNumpy imports under TYPE_CHECKING in jax.py/torch.py
(23 fewer attribute lookups at runtime per backend import)
- Tighten _check_fixed_dims signature (remove unused list type)
- Add test_coverage_edges.py to numpy tox backend set in conftest.py
- Add tests for all new validation paths + snapshot/restore
0 commit comments