Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ENH: Add Cython enumeration for NPY_FR_GENERIC #24923

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
Oct 17, 2023

Conversation

WillAyd
Copy link
Contributor

@WillAyd WillAyd commented Oct 13, 2023

We use this downstream in pandas. I think it is an oversight to have been left out of the Cython file

NPY_FR_GENERIC = 14 /* unbound units, can convert to anything */

@charris charris changed the title Add Cython enumeration for NPY_FR_GENERIC ENH: Add Cython enumeration for NPY_FR_GENERIC Oct 13, 2023
@charris charris added 01 - Enhancement 09 - Backport-Candidate PRs tagged should be backported labels Oct 13, 2023
@charris charris added this to the 1.26.2 release milestone Oct 13, 2023
@da-woods
Copy link

Probably worth adding to https://github.com/numpy/numpy/blob/main/numpy/__init__.cython-30.pxd too (which will be used instead by Cython 3)

@seberg
Copy link
Member

seberg commented Oct 17, 2023

Safe to add and no need to hide it from Cython, thanks @WillAyd.

@seberg seberg merged commit b3f91ff into numpy:main Oct 17, 2023
@WillAyd WillAyd deleted the add-npy-fr-generic branch October 17, 2023 18:11
charris pushed a commit to charris/numpy that referenced this pull request Oct 18, 2023
Add Cython enumeration for NPY_FR_GENERIC
@charris charris removed the 09 - Backport-Candidate PRs tagged should be backported label Oct 18, 2023
charris pushed a commit to charris/numpy that referenced this pull request Nov 11, 2023
Add Cython enumeration for NPY_FR_GENERIC
@TimotheusBachinger TimotheusBachinger mentioned this pull request Nov 25, 2024
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.

4 participants