cpython/Doc/using
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
..
android.rst [3.13] gh-116622: Complete Android documentation (GH-124259) (#124395) 2024-09-24 00:13:45 +00:00
cmdline.rst [3.13] gh-123275: Support `-Xgil=1` and `PYTHON_GIL=1` on non-free-threaded builds (gh-123276) (gh-123753) 2024-09-06 10:09:35 +09:00
configure.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
editors.rst bpo-37610: improve Using Python doc wrt Editors & IDE (GH-14850) 2019-07-18 18:23:17 -07:00
index.rst [3.13] gh-116622: Complete Android documentation (GH-124259) (#124395) 2024-09-24 00:13:45 +00:00
ios.rst [3.13] gh-116622: Complete Android documentation (GH-124259) (#124395) 2024-09-24 00:13:45 +00:00
mac.rst [3.13] gh-124720: Update "Using Python on a Mac" document (GH-124721) (#124775) 2024-09-29 17:52:31 -07:00
mac_installer_01_introduction.png [3.13] gh-124720: Update "Using Python on a Mac" document (GH-124721) (#124775) 2024-09-29 17:52:31 -07:00
mac_installer_02_readme.png [3.13] gh-124720: Update "Using Python on a Mac" document (GH-124721) (#124775) 2024-09-29 17:52:31 -07:00
mac_installer_03_license.png [3.13] gh-124720: Update "Using Python on a Mac" document (GH-124721) (#124775) 2024-09-29 17:52:31 -07:00
mac_installer_04_installation_type.png [3.13] gh-124720: Update "Using Python on a Mac" document (GH-124721) (#124775) 2024-09-29 17:52:31 -07:00
mac_installer_05_custom_install.png [3.13] gh-124720: Update "Using Python on a Mac" document (GH-124721) (#124775) 2024-09-29 17:52:31 -07:00
mac_installer_06_summary.png [3.13] gh-124720: Update "Using Python on a Mac" document (GH-124721) (#124775) 2024-09-29 17:52:31 -07:00
mac_installer_07_applications.png [3.13] gh-124720: Update "Using Python on a Mac" document (GH-124721) (#124775) 2024-09-29 17:52:31 -07:00
mac_installer_08_install_certificates.png [3.13] gh-124720: Update "Using Python on a Mac" document (GH-124721) (#124775) 2024-09-29 17:52:31 -07:00
mac_installer_09_custom_install_free_threaded.png [3.13] gh-124720: Update "Using Python on a Mac" document (GH-124721) (#124775) 2024-09-29 17:52:31 -07:00
unix.rst [3.13] gh-125766: Docs: minor rewording of installation on Linux section (GH-125793) 2024-10-21 11:56:01 -05:00
win_install_freethreaded.png gh-112984 Update Windows build and installer for free-threaded builds (GH-113129) 2024-01-17 21:52:23 +00:00
win_installer.png Optimize images by IMGbot (GH-21348) 2022-02-04 15:49:43 +09:00
windows.rst Update documentation links to Microsoft's documentation pages (GH-126379) 2024-11-11 17:18:01 +00:00