-
-
Notifications
You must be signed in to change notification settings - Fork 33.9k
gh-143420: Clarify sequence behavior for slice indexes #143422
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
Conversation
This explain what happens when for negative start or stop arguments of big magnitude. Also reference sequence term in the :mod:`array` docs.
|
CC @hugovk, per experts index (see issue thread on proposal to remove redundant methods from array docs) |
|
What we should do with common array methods? I think removal (like for other sequence types, e.g. bytearray) is a good idea. But broken links is a problem. |
|
Thanks @skirpichev for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
…H-143422) (cherry picked from commit 23b9377) Co-authored-by: Sergey B Kirpichev <[email protected]>
…H-143422) (cherry picked from commit 23b9377) Co-authored-by: Sergey B Kirpichev <[email protected]>
|
GH-143701 is a backport of this pull request to the 3.14 branch. |
|
GH-143703 is a backport of this pull request to the 3.13 branch. |
) (#143701) Co-authored-by: Sergey B Kirpichev <[email protected]>
) (#143703) Co-authored-by: Sergey B Kirpichev <[email protected]>
|
This explain what happens when for negative start or stop arguments of big magnitude.
Also reference sequence term in the :mod:
arraydocs.sequence.insert#143420📚 Documentation preview 📚: https://cpython-previews--143422.org.readthedocs.build/en/143422/library/stdtypes.html
https://cpython-previews--143422.org.readthedocs.build/en/143422/library/stdtypes.html#common-sequence-operations