Skip to content

gh-106318: Add example for str.index() - #137023

Merged
hugovk merged 4 commits into
python:mainfrom
adorilson:106318.index
Jan 6, 2026
Merged

gh-106318: Add example for str.index() #137023
hugovk merged 4 commits into
python:mainfrom
adorilson:106318.index

Conversation

@adorilson

@adorilsonadorilson commented Jul 22, 2025

Copy link
Copy Markdown
Contributor

vstinnerand others added 4 commits July 22, 2025 15:56
…#106335)
Remove private _PyThreadState and _PyInterpreterState C API
functions: move them to the internal C API (pycore_pystate.h and
pycore_interp.h). Don't export most of these functions anymore, but
still export functions used by tests.
Remove _PyThreadState_Prealloc() and _PyThreadState_Init() from the C
API, but keep it in the stable API.

@StanFromIrelandStanFromIreland left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@hugovk
hugovk merged commit 4fb6a31 into python:mainJan 6, 2026
36 checks passed
@github-project-automationgithub-project-automationBot moved this from Todo to Done in Docs PRsJan 6, 2026
@hugovkhugovk added awaiting core review needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Jan 6, 2026
@miss-islington-app

Copy link
Copy Markdown

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

@miss-islington-app

Copy link
Copy Markdown

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

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 6, 2026
(cherry picked from commit 4fb6a31)
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 6, 2026
(cherry picked from commit 4fb6a31)
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
@bedevere-app

Copy link
Copy Markdown

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

@bedevere-appbedevere-appBot removed the needs backport to 3.13 bugs and security fixes label Jan 6, 2026
@bedevere-app

Copy link
Copy Markdown

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

@bedevere-appbedevere-appBot removed the needs backport to 3.14 bugs and security fixes label Jan 6, 2026
hugovk pushed a commit that referenced this pull request Jan 6, 2026
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
hugovk pushed a commit that referenced this pull request Jan 6, 2026
Co-authored-by: Adorilson Bezerra <adorilson@gmail.com>
@adorilson
adorilson deleted the 106318.index branch January 6, 2026 22:53
thunder-coding pushed a commit to thunder-coding/cpython that referenced this pull request Feb 15, 2026
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core reviewdocsDocumentation in the Doc dirskip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants

@adorilson@StanFromIreland@hugovk@nazeerali4325-commits@vstinner