Skip to content
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

ENH: Add is_integer to np.floating & np.integer #19803

Merged
merged 6 commits into from Sep 2, 2021
Merged

Conversation

BvB93
Copy link
Member

@BvB93 BvB93 commented Aug 31, 2021

The builtins.float class currently contains a number of methods that are absent from its numpy-based
counterparts (xref #13375). This PR alleviates this issue for is_integer, which is now available to
np.floating and np.integer subclasses, matching builtin python.

@BvB93 BvB93 added 01 - Enhancement 62 - Python API Changes or additions to the Python API. Mailing list should usually be notified. labels Aug 31, 2021
@BvB93 BvB93 changed the title ENH: Add is_integer to the np.floating subclasses ENH: Add is_integer to np.floating & np.integer Aug 31, 2021
BvB93 and others added 2 commits August 31, 2021 21:26
Co-Authored-By: Charles Harris <charlesr.harris@gmail.com>
@charris charris merged commit 6305014 into numpy:main Sep 2, 2021
@charris
Copy link
Member

charris commented Sep 2, 2021

Thanks Bas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
01 - Enhancement 62 - Python API Changes or additions to the Python API. Mailing list should usually be notified.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants