-
Notifications
You must be signed in to change notification settings - Fork 784
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
PySequence: use usize everywhere, fix in-place methods #1803
Conversation
(I guess this needs to wait for #1802) |
279c22c
to
4f1e4d6
Compare
4f1e4d6
to
af81591
Compare
👍 this is looking good! It looks like there's a few |
a) not leak a reference b) correctly return the result, since for immutable types `self` is not actually mutated in place
af81591
to
0ab1aca
Compare
Sure. |
0ab1aca
to
ead86bd
Compare
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.
Looks good to me, thanks for the new tests!
I guess still to be added for #1667 is to add the impl std::ops::Index
implementations, and maybe also an entry in the migration guide.
No description provided.