Skip to content

CLN: Assorted cleanups #29175

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 4 commits into from
Oct 23, 2019
Merged

CLN: Assorted cleanups #29175

merged 4 commits into from
Oct 23, 2019

Conversation

jbrockmendel
Copy link
Member

No description provided.

Copy link
Member

@WillAyd WillAyd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good minor question

@@ -284,7 +284,7 @@ cdef slice_get_indices_ex(slice slc, Py_ssize_t objlen=PY_SSIZE_T_MAX):
return start, stop, step, length


def slice_getitem(slice slc not None, ind):
cdef slice_getitem(slice slc, ind):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have a not None check elsewhere?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not None is not allowed in a cdef function. we only call this from one place in this module, and it is immediately after checking that we do in fact have a slice

@WillAyd WillAyd added the Clean label Oct 23, 2019
@WillAyd WillAyd added this to the 1.0 milestone Oct 23, 2019
@jreback jreback merged commit cce0b37 into pandas-dev:master Oct 23, 2019
@jreback
Copy link
Contributor

jreback commented Oct 23, 2019

thanks

@jbrockmendel jbrockmendel deleted the faster_cln branch October 23, 2019 14:34
HawkinsBA pushed a commit to HawkinsBA/pandas that referenced this pull request Oct 29, 2019
Reksbril pushed a commit to Reksbril/pandas that referenced this pull request Nov 18, 2019
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
proost pushed a commit to proost/pandas that referenced this pull request Dec 19, 2019
bongolegend pushed a commit to bongolegend/pandas that referenced this pull request Jan 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants