8000 ENH: Add Cython enumeration for NPY_FR_GENERIC by WillAyd · Pull Request #24923 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

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

0