gh-756: Add a page about frozen modules #1989
All Vouch review confidence checks passed
Residual risk 0.03 = Change Risk (0.33) × (1 − Review Confidence (0.91)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.33 · 117 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.89 · 3 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 50%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.285
Real PR Conversation Timeline
4 items
<!-- readthedocs-55693 -->
Documentation build overview
📚 CPython devguide | 🛠️ Build #36192864 | 📁 Comparing b585f2ac12baa5d0bbacd5d42bd94b1e9b4da9f6 against latest (e97d25fcc8aa308531597a75c4e865af56739365)
<kbd> 🔍 Preview build </kbd>
<details open>
<summary>2 files changed</summary>
<br>
<code>+</code> <a href="https://cpython-devguide--1989.org.readthedocs.build/developer-workflow/frozen-modules/index.html"><code>developer-workflow/frozen-modules/index.html</code></a><br>
<code>±</code> <a href="https://cpython-devguide--1989.org.readthedocs.build/genindex/index.html"><code>genindex/index.html</code></a><br>
</details>
This is documenting implementation details which are likely to go out of date, let's drop this.
Done! Thank you :D
StanFromIreland
VanshajPoonia
Closes #756.
This adds
developer-workflow/frozen-modules.rstand links it from the workflow index. It covers what frozen modules are, the three kinds (bootstrap, stdlib and test), how to change which modules are frozen withmake regen-frozen, why some stdlib modules are frozen and others are not, the-X frozen_modulessetting, and the test helpers inimport_helper.Each claim follows the CPython source:
Python/frozen.c,Tools/build/freeze_modules.py,Python/import.candPython/initconfig.c. The docs build with no new warnings andsphinx-lintpasses.