Skip to content

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.

2 participants