-
-
Notifications
You must be signed in to change notification settings - Fork 18.2k
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
Remove out-of-date numpy.pxd; remove unused float16_t #18101
Conversation
Just updated the imports of NPY_DATETIME and NPY_TIMEDELTA. Noticed there is some redundancy in the places they are used: tslib:
index:
Incidentally, index.get_value_at is never used. |
pls leave float16_t around, it is a valid type (though only partially supported generally). |
Can't. This PR removes src/numpy.pxd so as to defer to the version found in setup using If I add float16_t back to one of the cimports here, we get a build-time error:
Besides which, float16_t is never actually used in any of the modules it is currently cimported into. ... and looking at numpy.pxd, it looks very much like float16_t is... well I don't know what the term is:
Is this actually an alias for float32_t? |
Following that logic that you presented, then yes, it would be. |
rebase |
I have no idea what's going on with the test failures. Can anyone reproduce locally? I'd also be ok with a "this cleanup can be future-us's problem" |
May be related to #18064. |
git diff upstream/master -u -- "*.py" | flake8 --diff