gh-100227: Make the Global Interned Dict Safe for Isolated Interpreters by ericsnowcurrently · Pull Request #102858 · python/cpython · GitHub

github.com

Tin mới

ericsnowcurrently:make-global-interned-dict-safe

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

Initialize the interned dict in _PyUnicode_InitGlobalObjects().

Add some TODO comments.

Factor out store_interned().

Store a thread state to use just for interned strings.

Always use the main interpreter when possibly resizing the interned d…

Make interned strings immortal.

Temporarily skip immortalizing.

Add the mutex for the interned dict.

Lock around store_interned().

awaiting core review

awaiting core review

gh-100227: Move the Dict of Interned Strings to PyInterpreterState #102339

gh-84436: Make Interned Strings Immortal #102887

⌂git
1/1