Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

MAINT: Remove any promotion-state switching logic #27156

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Aug 31, 2024
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
Next Next commit
DOC: Add release note for promotion state removal
I think we can just do that, but maybe it's prudent to just point
it out anyway...
  • Loading branch information
seberg committed Aug 9, 2024
commit 8255ea48e16c651c6f5f475e2a9f2cfef11774eb
8 changes: 8 additions & 0 deletions 8 doc/release/upcoming_changes/27156.change.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
NEP 50 promotion state option removed
-------------------------------------
The NEP 50 promotion state settings are now removed. They were always
meant as temporary means for testing.
A warning will be given if the environment variable is set to anything
but ``NPY_PROMOTION_STATE=weak``.
If for some reason your code sets the promotion state to weak with the
semi-private helper, replace it with ``contextlib.nullcontext``.
Morty Proxy This is a proxified and sanitized view of the page, visit original site.