Skip to content

MAINT: Use the PyArrayScalar_VAL macro where possible #15426

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 2 commits into from
Jan 24, 2020

Conversation

eric-wieser
Copy link
Member

If we have this macro, we may as well use it.

This changes all occurences except the Void ones, since there other fields that don't have accessor macros are also used.


Some more pre-#15385 cleanup

If we have this macro, we may as well use it.

This changes all occurences except the Void ones, since there other fields that don't have accessor macros are also used.
@eric-wieser
Copy link
Member Author

Not my day today. Must be a typo here somewhere, will come back to it another day to try and find it.

Co-Authored-By: Sebastian Berg <sebastian@sipsolutions.net>
@eric-wieser eric-wieser changed the title MAINT: Use the PyArrayScalar_VAL where possible MAINT: Use the PyArrayScalar_VAL macro where possible Jan 24, 2020
@seberg seberg merged commit 5d9f15b into numpy:master Jan 24, 2020
cielavenir pushed a commit to cielavenir/numpy that referenced this pull request Aug 9, 2023
If we have this macro, we may as well use it.

This changes all occurences except the Void ones, since there other fields that don't have accessor macros are also used.
cielavenir pushed a commit to cielavenir/numpy that referenced this pull request Aug 22, 2023
If we have this macro, we may as well use it.

This changes all occurences except the Void ones, since there other fields that don't have accessor macros are also used.
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