cpython/Misc/NEWS.d/next
Miss Islington (bot) 49da170709
[3.12] gh-116510: Fix a Crash Due to Shared Immortal Interned Strings (gh-125205)
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 (i.e. backporting gh-125709 too).

(cherry picked from commit f2cb399470, AKA gh-124865)

Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
2024-12-03 10:26:25 -07:00
..
Build [3.12] gh-89640: harden float word ordering (#125571 and #126387) (#126430) 2024-11-05 23:19:13 +01:00
C API [3.12] gh-113993: For string interning, do not rely on (or assert) _Py_IsImmortal (GH-121358) (GH-124938) 2024-10-04 16:50:34 +02:00
Core and Builtins [3.12] gh-118950: Fix SSLProtocol.connection_lost not being called when OSError is thrown (GH-118960) (#125932) 2024-10-26 22:02:07 +05:30
Core_and_Builtins [3.12] gh-116510: Fix a Crash Due to Shared Immortal Interned Strings (gh-125205) 2024-12-03 10:26:25 -07:00
Documentation [3.12] gh-60712: Include the "object" type in the lists of documented types (GH-103036) (GH-126198) 2024-10-30 13:15:24 -07:00
IDLE [3.12] gh-122392: IDLE - Fix overlapping lines in browsers (GH-122392) (GH-124975) (#125062) 2024-10-07 19:23:08 +00:00
Library gh-119826: Improved fallback for ntpath.abspath() on Windows (GH-119938) 2024-12-02 20:03:44 +00:00
macOS [3.12] gh-124448: Update bundled Tcl/Tk in macOS installer to 8.6.15. (GH-125800) 2024-11-14 00:06:14 -05:00
Security [3.12] gh-126623: Update libexpat to 2.6.4, make future updates easier (GH-126792) (GH-126797) 2024-11-13 18:50:29 +00:00
Tests [3.12] gh-126909: Fix running xattr tests on systems with lower limits (GH-126930) (#126964) 2024-11-18 13:22:58 +00:00
Tools-Demos [3.12] gh-126807: pygettext: Do not attempt to extract messages from function definitions. (GH-126808) (GH-126847) 2024-11-14 22:35:35 +00:00
Windows [3.12] gh-126911: Update credits output (GH-126913) (#126974) 2024-11-18 15:58:22 +00:00