cpython/Include/internal
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
..
pycore_abstract.h
pycore_asdl.h
pycore_ast.h
pycore_ast_state.h
pycore_atexit.h
pycore_atomic.h
pycore_atomic_funcs.h
pycore_bitutils.h
pycore_blocks_output_buffer.h
pycore_bytes_methods.h
pycore_bytesobject.h
pycore_call.h
pycore_ceval.h
pycore_ceval_state.h
pycore_code.h
pycore_compile.h
pycore_condvar.h
pycore_context.h
pycore_descrobject.h
pycore_dict.h
pycore_dict_state.h
pycore_dtoa.h [3.12] gh-119447: Fix build with _PY_SHORT_FLOAT_REPR == 0 (#121178) (#121180) 2024-06-30 10:02:08 +00:00
pycore_emscripten_signal.h
pycore_exceptions.h
pycore_faulthandler.h
pycore_fileutils.h
pycore_fileutils_windows.h
pycore_floatobject.h
pycore_flowgraph.h
pycore_format.h
pycore_frame.h [3.12] Fix typos in comments (GH-120481) (#120775) 2024-06-20 03:59:31 +00:00
pycore_function.h
pycore_gc.h
pycore_genobject.h
pycore_getopt.h
pycore_gil.h
pycore_global_objects.h
pycore_global_objects_fini_generated.h [3.12] gh-113993: Make interned strings mortal (GH-120520, GH-121364, GH-121903, GH-122303) (#123065) 2024-09-27 13:28:48 -07:00
pycore_global_strings.h [3.12] gh-113993: Make interned strings mortal (GH-120520, GH-121364, GH-121903, GH-122303) (#123065) 2024-09-27 13:28:48 -07:00
pycore_hamt.h
pycore_hashtable.h
pycore_import.h
pycore_initconfig.h
pycore_instruments.h
pycore_interp.h
pycore_intrinsics.h
pycore_list.h
pycore_long.h
pycore_memoryobject.h
pycore_moduleobject.h
pycore_namespace.h
pycore_object.h [3.12] gh-113993: Make interned strings mortal (GH-120520, GH-121364, GH-121903, GH-122303) (#123065) 2024-09-27 13:28:48 -07:00
pycore_object_state.h [3.12] gh-116510: Fix a Crash Due to Shared Immortal Interned Strings (gh-125205) 2024-12-03 10:26:25 -07:00
pycore_obmalloc.h
pycore_obmalloc_init.h
pycore_opcode.h
pycore_opcode_utils.h
pycore_parser.h
pycore_pathconfig.h
pycore_pyarena.h
pycore_pyerrors.h
pycore_pyhash.h
pycore_pylifecycle.h
pycore_pymath.h
pycore_pymem.h
pycore_pymem_init.h
pycore_pystate.h
pycore_pythread.h
pycore_range.h
pycore_runtime.h
pycore_runtime_init.h [3.12] gh-116510: Fix a Crash Due to Shared Immortal Interned Strings (gh-125205) 2024-12-03 10:26:25 -07:00
pycore_runtime_init_generated.h [3.12] gh-113993: Make interned strings mortal (GH-120520, GH-121364, GH-121903, GH-122303) (#123065) 2024-09-27 13:28:48 -07:00
pycore_signal.h
pycore_sliceobject.h
pycore_strhex.h
pycore_structseq.h
pycore_symtable.h [3.12] gh-119311: Fix name mangling with PEP 695 generic classes (#119464) (#119644) 2024-06-04 19:55:45 +00:00
pycore_sysmodule.h
pycore_time.h
pycore_token.h
pycore_traceback.h
pycore_tracemalloc.h
pycore_tuple.h
pycore_typeobject.h [3.12] gh-126303: Fix pickling and copying of os.sched_param objects (GH-126336) (GH-126424) 2024-11-05 06:52:51 +00:00
pycore_typevarobject.h
pycore_ucnhash.h
pycore_unicodeobject.h [3.12] gh-127208: Reject null character in _imp.create_dynamic() (#127400) (#127419) 2024-11-29 17:03:24 +01:00
pycore_unicodeobject_generated.h [3.12] gh-113993: Make interned strings mortal (GH-120520, GH-121364, GH-121903, GH-122303) (#123065) 2024-09-27 13:28:48 -07:00
pycore_unionobject.h
pycore_warnings.h