Tin mới
ericsnowcurrently:global-strings
GitHub CopilotWrite better code with AI
GitHub Copilot appDirect agents from issue to merge
CodespacesInstant dev environments
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
GitHub SponsorsFund open source developers
Copilot for BusinessEnterprise-grade AI features
Premium SupportEnterprise-grade 24/7 support
Stop using _Py_IDENTIFIER() in core CPython. faster-cpython/ideas#230
bpo-46541: Generate the global objects initializer. #30941
: Generate the global objects initializer. (
bpo-46430: Intern strings in deep-frozen modules #30683
_Py_GET_GLOBAL_IDENTIFIER() -> _Py_ID().
_Py_GET_GLOBAL_STRING() -> _Py_STR().
Use a simpler field prefix than spamspamspam_.
ASCII_STR() -> STRUCT_FOR_ASCII_STR().
LITERAL() -> STRUCT_FOR_STR().
Use _PyObject_IMMORTAL_INIT().
Drop _PyObject_IsSingleton(). (C99 undefined makes it too tricky.)
Drop address-taking from _PY_ID() and _Py_STR().
Add a compatibility shim for _PyObject_LookupSpecialId().
Merge branch 'main' into global-strings
Learn more about hiding disruptive comments
The reason will be displayed to describe this comment to others. Learn more.
https://github.com/faster-cpython/ideas/discussions
Maybe add this to https://github.com/faster-cpython/ideas/discussions?
Look into string sharing for deep-frozen code faster-cpython/ideas#218
bpo-46210: Fix deadlock in print. #30310
gh-84436: Implement Immortal Objects #19474
Replace _Py_IDENTIFIER() with statically initialized objects. #90699