-
Notifications
You must be signed in to change notification settings - Fork 778
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
Change the types of PySliceIndices
and `PySlice::indices
#3761
Conversation
CodSpeed Performance ReportMerging #3761 will not alter performanceComparing Summary
|
Thanks! Overall I think this is a straightforward thing for users to update for, and makes things a bit tidier, so overall I'm warm to this change. My only hesitation as I mentioned before is migrating from 0.20 to 0.21 is already set to be a big job for users so I'm a bit wary of adding more breaking changes right at this minute, especially as this doesn't seem strictly necessary. I'd be happy to hear other maintainer's views here; otherwise if you can forgive me @cmpute, I'd prefer to take a step of caution and save this for 0.22. |
I'm open for the merge timepoint :) Waiting for 0.22 sounds good to me! |
I have rebased the code, not sure why the codecov check failed tho. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, sorry to take a while to get to this, let's merge!
The uncovered path looks like it's the old GIL Ref API, we'll live with that for the moment. (Going to be nice in 0.23 when coverage shoots back up!)
I am using slices, and this is causing me some trouble in upgrading to 0.22. do I HAVE to enable |
No, you need to use the new |
This fixes #3756. I decided not to change the type of
length
tousize
, to leave the user with the option to skip the check, becauseisize::MAX
is already very large as a length of sequences.