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

iinfo() and finfo() result holds dtype attribute #485

Merged
merged 2 commits into from
Oct 17, 2022

Conversation

honno
Copy link
Member

@honno honno commented Sep 23, 2022

In yesterdays meeting @oleksandr-pavlyk bought up that NumPy's iinfo()/finfo() returns info objects with a dtype attribute. There seemed to be no objections, but it turns out dtype wasn't actually document for NumPy... Resolved in numpy/numpy#22334

I've left this PR separate from #484 to keep things atomic, incase things become finicky. It depends on that PR because of the subtle distinction I made in finfo() to clarify attributes relate to real-valued floats... just want that to resolve (i.e. be merged) first. That was merged, so happy with this PR on my end!

@honno honno changed the title finfo() result holds dtype attribute iinfo() and finfo() result holds dtype attribute Sep 27, 2022
@rgommers
Copy link
Member

rgommers commented Oct 5, 2022

@honno after fixing the merge conflict, I think this can be moved out of draft status now that gh-484 has been merged?

@honno honno marked this pull request as ready for review October 6, 2022 11:48
Copy link
Contributor

@oleksandr-pavlyk oleksandr-pavlyk left a comment

Choose a reason for hiding this comment

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

Thanks for adding this!

@leofang leofang merged commit b3b7bb6 into data-apis:main Oct 17, 2022
@leofang
Copy link
Contributor

leofang commented Oct 17, 2022

Merged since this was approved in the meeting and we gathered two green checks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants