gh-111968: remove redundant fetching of interpreter state in dict implementation by kumaraditya303 · Pull Request #136673 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@kumaraditya303

Copy link Copy Markdown

Contributor

@kumaraditya303 kumaraditya303 commented

Jul 15, 2025

edited by bedevere-app bot

Loading

This removes the redundant fetching of interpreter state where it is not needed now. This is leftover from #114323 when freelist was per-interpreter rather than per-thread in free-threading.

@kumaraditya303 kumaraditya303 added skip news interpreter-core

(Objects, Python, Grammar, and Parser dirs)

labels

Jul 15, 2025

@kumaraditya303 kumaraditya303 changed the title gh-111968: remove redundant calls to fetch interpreter state in dict gh-111968: remove redundant fetching of interpreter state in dict implementation

Jul 15, 2025

@kumaraditya303 kumaraditya303 merged commit a8f42e6 into python:main

Jul 15, 2025

54 of 82 checks passed

@kumaraditya303 kumaraditya303 deleted the dict2 branch

July 15, 2025 13:45

taegyunkim pushed a commit to taegyunkim/cpython that referenced this pull request

Aug 4, 2025

Agent-Hellboy pushed a commit to Agent-Hellboy/cpython that referenced this pull request

Aug 19, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@methane methane Awaiting requested review from methane methane is a code owner

@markshannon markshannon Awaiting requested review from markshannon markshannon is a code owner

Assignees

No one assigned

Labels

interpreter-core

(Objects, Python, Grammar, and Parser dirs)

skip news

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@kumaraditya303