Skip to content

DEP: Expire set_numeric_ops and the corresponding C functions deprecation#23998

Merged
seberg merged 2 commits intonumpy:mainfrom
seberg:setnumericops
Jun 20, 2023
Merged

DEP: Expire set_numeric_ops and the corresponding C functions deprecation#23998
seberg merged 2 commits intonumpy:mainfrom
seberg:setnumericops

Conversation

@seberg
Copy link
Member

@seberg seberg commented Jun 19, 2023

This simply expires the deprecations because I saw they were one cause of doctest failures in the other PR, but its good anyway.

…cation

This simply expires the deprecations because I saw they were one cause
of doctest failures in the other PR, but its good anyway.
Unlike the set version, we don't use it internally.
Copy link
Contributor

@mhvk mhvk left a comment

Choose a reason for hiding this comment

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

Clean-up is nice! But it looks like one should be able to get rid of number.c and number.h altogether! (moving some code to umathmodule)

Copy link
Contributor

@mhvk mhvk left a comment

Choose a reason for hiding this comment

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

With that conversation resolved, I think this is all good to go!

@seberg seberg merged commit 9cba469 into numpy:main Jun 20, 2023
@seberg seberg deleted the setnumericops branch June 20, 2023 17:10
rossbar pushed a commit that referenced this pull request Jun 27, 2023
…NumericOps`` in release note (#24058)

``PyArray_SetNumericOps`` and ``PyArray_GetNumericOps`` are removed in
gh-23998.
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.

2 participants