Skip to content

DEP: remove the newshape parameter from reshape()#29994

Merged
mattip merged 3 commits into
numpy:mainfrom
jorenham:remove-reshape-newshape-param
Oct 17, 2025
Merged

DEP: remove the newshape parameter from reshape()#29994
mattip merged 3 commits into
numpy:mainfrom
jorenham:remove-reshape-newshape-param

Conversation

@jorenham
Copy link
Copy Markdown
Member

@jorenham jorenham added 07 - Deprecation 56 - Needs Release Note. Needs an entry in doc/release/upcoming_changes labels Oct 16, 2025
@jorenham jorenham added this to the 2.4.0 release milestone Oct 16, 2025
Copy link
Copy Markdown
Member

@seberg seberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks Joren! Might tweak the release notes to nudge towards passing positionally, since passing shape= would break compatible with old NumPy versions.

Comment thread doc/release/upcoming_changes/29994.expired.rst Outdated
Co-authored-by: Sebastian Berg <[email protected]>
@jorenham jorenham removed the 56 - Needs Release Note. Needs an entry in doc/release/upcoming_changes label Oct 16, 2025
@mattip mattip merged commit fcc3b6e into numpy:main Oct 17, 2025
78 checks passed
@mattip
Copy link
Copy Markdown
Member

mattip commented Oct 17, 2025

Thanks @jorenham

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants