Skip to content

CLN: fix cython build warning #27193

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 1 commit into from Jul 3, 2019
Merged

CLN: fix cython build warning #27193

merged 1 commit into from Jul 3, 2019

Conversation

ghost
Copy link

@ghost ghost commented Jul 2, 2019

warning: pandas/_libs/tslib.pyx:724:49: Buffer unpacking not optimized away.
warning: pandas/_libs/tslib.pyx:724:49: Buffer unpacking not optimized away.

the error is due to a cdef inline function which uses ndarray[object]. The function has one caller, and it isn't in any perf-critical inner-loop, so the inline isn't important. Remove it and avoid warning during cythonization.

@jreback jreback added the Build Library building on various platforms label Jul 2, 2019
@jreback jreback added this to the 0.25.0 milestone Jul 2, 2019
@jreback jreback merged commit 647c635 into pandas-dev:master Jul 3, 2019
@jreback
Copy link
Contributor

jreback commented Jul 3, 2019

you don't need to rebase things; they are squashed on merge; also pls don't force push generally as it makes reviewing harder (doesn't matter here).

@ghost ghost deleted the fix_warning branch July 3, 2019 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Build Library building on various platforms
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant