gh-100227: Move the Dict of Interned Strings to PyInterpreterState by ericsnowcurrently · Pull Request #102339 · python/cpython · GitHub

github.com

Tin mới

ericsnowcurrently:isolate-interned-dict

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

Improve Interpreter Isolation #100227

set_interned_dict() -> ensure_interned_dict().

Move the interned dict to PyInterpreterState.

Intern the static strings for every interpreter.

awaiting core review

awaiting core review

View reviewed changes

Learn more about hiding disruptive comments

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

gh-101659: Isolate "obmalloc" State to Each Interpreter #101660

gh-100227: Make the Global Interned Dict Safe for Isolated Interpreters #102858

gh-100227: Make the Global Interned Dict Safe for Isolated Interpreters #102925

Revert "gh-100227: Make the Global Interned Dict Safe for Isolated Interpreters (gh-102925)" This reverts commit 87be8d95228ee95de9045cf2952311d20dc5de45.

Fix unicode_is_finalizing().

Merge branch 'revert-global-interned-fixes' into isolate-interned-dict

Merge branch 'main' into isolate-interned-dict

: Move the Dict of Interned Strings to PyInterpreterSt…

[3.12] gh-124785: Revert "gh-116510: Fix crash due to shared immortal interned strings (gh-124646)" (gh-124807) #124818