Skip to content

Conversation

@skirpichev
Copy link
Contributor

@skirpichev skirpichev commented Jan 5, 2026

This explain what happens when for negative start or stop arguments of big magnitude.

Also reference sequence term in the :mod:array docs.


📚 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

This explain what happens when for negative start or stop
arguments of big magnitude.

Also reference sequence term in the :mod:`array` docs.
@skirpichev skirpichev requested a review from hugovk January 9, 2026 22:54
@skirpichev
Copy link
Contributor Author

CC @hugovk, per experts index (see issue thread on proposal to remove redundant methods from array docs)

@skirpichev skirpichev requested a review from picnixz January 10, 2026 23:22
@skirpichev
Copy link
Contributor Author

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.

@hugovk hugovk merged commit 23b9377 into python:main Jan 11, 2026
32 checks passed
@miss-islington-app
Copy link

Thanks @skirpichev for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Jan 11, 2026
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 11, 2026
…H-143422)

(cherry picked from commit 23b9377)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 11, 2026
…H-143422)

(cherry picked from commit 23b9377)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
@bedevere-app
Copy link

bedevere-app bot commented Jan 11, 2026

GH-143701 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Jan 11, 2026
@bedevere-app
Copy link

bedevere-app bot commented Jan 11, 2026

GH-143703 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Jan 11, 2026
hugovk pushed a commit that referenced this pull request Jan 11, 2026
) (#143701)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
hugovk pushed a commit that referenced this pull request Jan 11, 2026
) (#143703)

Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
@skirpichev skirpichev deleted the improve-slice-notes/143420 branch January 11, 2026 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants