Skip to content

gh-145685: Update find_name_in_mro() to return a _PyStackRef (gh-145693) - #145693

Merged
colesbury merged 1 commit into
python:mainfrom
colesbury:gh-145685-find-name-in-mro
Mar 10, 2026
Merged

colesbury merged 1 commit into
python:mainfrom
colesbury:gh-145685-find-name-in-mro

Conversation

@colesbury

@colesbury colesbury commented Mar 9, 2026 •

Copy link
Copy Markdown
Contributor

This is the first of a few PRs to fix the scaling bottleneck in _PyType_LookupStackRefAndVersion.

@colesbury

Copy link
Copy Markdown
Contributor Author

NEWS entry will be included in a follow-up when the scaling problem is fixed.

@colesbury
colesbury marked this pull request as ready for review March 9, 2026 18:25
@colesbury
colesbury requested a review from markshannon as a code owner March 9, 2026 18:25
@colesbury
colesbury requested a review from mpage March 9, 2026 18:25
@colesbury colesbury changed the title gh-145685: Update find_name_in_mro() to return a _PyStackRef Mar 10, 2026
@colesbury
colesbury merged commit f26eca7 into python:main Mar 10, 2026
94 of 96 checks passed
@miss-islington-app

Copy link
Copy Markdown

Thanks @colesbury for the PR 🌮🎉.. 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 Mar 10, 2026
…ythongh-145693)

(cherry picked from commit f26eca7)

Co-authored-by: Sam Gross <colesbury@gmail.com>
@bedevere-app

bedevere-app Bot commented Mar 10, 2026

Copy link
Copy Markdown

GH-145769 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 Mar 10, 2026
@colesbury
colesbury deleted the gh-145685-find-name-in-mro branch March 10, 2026 17:04
colesbury added a commit that referenced this pull request Mar 10, 2026
…h-145693) (#145769)

(cherry picked from commit f26eca7)

Co-authored-by: Sam Gross <colesbury@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants