Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add release note for #10761
Assisted-by: Claude Code
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
  • Loading branch information
nicoseijas and claude committed Aug 5, 2026
commit 162521a9a0d64747ff7a313c63812c05dfaa29a5
7 changes: 7 additions & 0 deletions docs/upcoming_changes/10761.bug_fix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Fix ``np.clip`` writing past the end of a caller-provided ``out`` array
-----------------------------------------------------------------------

``np.clip`` did not check the shape of an explicit ``out`` argument, so an
``out`` that did not match the shape of the result was written past its end
and a wrong array was returned with no error. The shape is now validated and
a mismatch raises ``ValueError``, matching NumPy.
Loading