cpython/Doc/whatsnew
Miss Islington (bot) 02cd3ce0f2
[3.13] gh-116510: Fix a Crash Due to Shared Immortal Interned Strings (gh-124865) (gh-125709) (GH-125204)
* gh-116510: Fix a Crash Due to Shared Immortal Interned Strings (gh-124865)

Fix a crash caused by immortal interned strings being shared between
sub-interpreters that use basic single-phase init. In that case, the string
can be used by an interpreter that outlives the interpreter that created and
interned it. For interpreters that share obmalloc state, also share the
interned dict with the main interpreter.

This is an un-revert of gh-124646 that then addresses the Py_TRACE_REFS
failures identified by gh-124785.
(cherry picked from commit f2cb399470)

Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>

* [3.13] gh-125286: Share the Main Refchain With Legacy Interpreters (gh-125709)

They used to be shared, before 3.12.  Returning to sharing them resolves a failure on Py_TRACE_REFS builds.

---------

Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
2024-11-12 13:45:12 +01:00
..
2.0.rst gh-101100: Fix Sphinx warnings in whatsnew/2.0.rst (#112351) 2024-02-25 02:45:56 -07:00
2.1.rst [3.13] gh-101100: Add a table of class attributes to the "Custom classes" section of the data model docs (#124480) (#124556) 2024-09-25 17:29:48 -07:00
2.2.rst [3.13] gh-101100: Add a table of class attributes to the "Custom classes" section of the data model docs (#124480) (#124556) 2024-09-25 17:29:48 -07:00
2.3.rst [3.13] gh-101100: Add a table of class attributes to the "Custom classes" section of the data model docs (#124480) (#124556) 2024-09-25 17:29:48 -07:00
2.4.rst [3.13] GH-103484: Fix permanently redirects reported by linkcheck (GH-124144) (#124151) 2024-09-24 00:43:04 +00:00
2.5.rst [3.13] gh-120345: Fix incorrect use of the :class: role with the "()" suffix (GH-120347) (GH-120411) 2024-06-12 14:51:35 +00:00
2.6.rst [3.13] gh-101100: Consolidate documentation on ModuleType attributes (#124709) (#125208) 2024-10-09 20:03:30 +01:00
2.7.rst [3.13] GH-103484: Fix permanently redirects reported by linkcheck (GH-124144) (#124151) 2024-09-24 00:43:04 +00:00
3.0.rst [3.13] gh-101100: Consolidate documentation on ModuleType attributes (#124709) (#125208) 2024-10-09 20:03:30 +01:00
3.1.rst [3.13] gh-121905: Consistently use "floating-point" instead of "floating point" (GH-121907) (GH-122012) 2024-07-19 09:13:08 +00:00
3.2.rst [3.13] gh-101100: Consolidate documentation on ModuleType attributes (#124709) (#125208) 2024-10-09 20:03:30 +01:00
3.3.rst [3.13] gh-101100: Add a table of class attributes to the "Custom classes" section of the data model docs (#124480) (#124556) 2024-09-25 17:29:48 -07:00
3.4.rst [3.13] gh-101100: Consolidate documentation on ModuleType attributes (#124709) (#125208) 2024-10-09 20:03:30 +01:00
3.5.rst [3.13] gh-101100: Consolidate documentation on ModuleType attributes (#124709) (#125208) 2024-10-09 20:03:30 +01:00
3.6.rst [3.13] gh-101100: Add a table of class attributes to the "Custom classes" section of the data model docs (#124480) (#124556) 2024-09-25 17:29:48 -07:00
3.7.rst [3.13] Use pep role instead of url (GH-121611) (#124172) 2024-09-23 11:39:16 -07:00
3.8.rst [3.13] Add missing fullstop . to whatsnew/3.8.rst (GH-126553) (#126672) 2024-11-11 07:05:15 +00:00
3.9.rst [3.13] gh-101100: Add a table of class attributes to the "Custom classes" section of the data model docs (#124480) (#124556) 2024-09-25 17:29:48 -07:00
3.10.rst [3.13] gh-123492: Remove unnecessary :func: parentheses (gh-123493) (#123513) 2024-08-30 20:14:48 +03:00
3.11.rst [3.13] gh-123517: Remove unnecessary :meth: parentheses (gh-123518) (GH-123577) 2024-09-02 16:00:04 +02:00
3.12.rst [3.13] gh-101865: Docs: Keep co_lnotab deprecation for at least 3.14 (GH-126392) (#126403) 2024-11-04 19:46:26 +02:00
3.13.rst [3.13] gh-116510: Fix a Crash Due to Shared Immortal Interned Strings (gh-124865) (gh-125709) (GH-125204) 2024-11-12 13:45:12 +01:00
changelog.rst
index.rst Docs: add link roles with Sphinx extlinks (#117850) 2024-04-15 21:22:00 +03:00