cpython/Doc/whatsnew
Kumar Aditya bf95ff91f2
bpo-46608: exclude marshalled-frozen data if deep-freezing to save 300 KB space (GH-31074)
This reduces the size of the data segment by **300 KB** of the executable because if the modules are deep-frozen then the marshalled frozen data just wastes space. This was inspired by comment by @gvanrossum in https://github.com/python/cpython/pull/29118#issuecomment-958521863. Note: There is a new option `--deepfreeze-only` in `freeze_modules.py` to change this behavior, it is on be default to save disk space.
```console 
# du -s ./python before
27892   ./python
# du -s ./python after
27524   ./python
```

Automerge-Triggered-By: GH:ericsnowcurrently
2022-02-04 09:57:03 -08:00
..
2.0.rst [docs] Improve the markup of powers (GH-28598) 2021-09-28 22:40:57 +02:00
2.1.rst bpo-44740: Lowercase "internet" and "web" where appropriate. (#27378) 2021-07-27 00:11:55 +02:00
2.2.rst bpo-44740: Lowercase "internet" and "web" where appropriate. (#27378) 2021-07-27 00:11:55 +02:00
2.3.rst bpo-44740: Make minor edits to lowercasing "internet" and "web". (GH-27385) 2021-07-27 10:57:52 +02:00
2.4.rst
2.5.rst
2.6.rst
2.7.rst [docs] Improve the markup of powers (GH-28598) 2021-09-28 22:40:57 +02:00
3.0.rst
3.1.rst [docs] Improve the markup of powers (GH-28598) 2021-09-28 22:40:57 +02:00
3.2.rst bpo-45162: Revert "Remove many old deprecated unittest features" (GH-30935) 2022-01-26 20:39:15 -08:00
3.3.rst
3.4.rst bpo-44740: Lowercase "internet" and "web" where appropriate. (#27378) 2021-07-27 00:11:55 +02:00
3.5.rst
3.6.rst Doc: some rst linting. (GH-30149) 2021-12-17 13:55:03 +01:00
3.7.rst bpo-43774: Document configure options (GH-25283) 2021-04-08 22:32:21 +02:00
3.8.rst bpo-36384: [doc] Mention CVE-2021-29921 fix in 3.8.12 (GH-27824) 2021-08-19 10:55:49 +02:00
3.9.rst bpo-41844: Update IDLE part of What's New 3.9 to 20228 (GH-30905) 2022-01-25 23:49:54 -05:00
3.10.rst bpo-48146: Update IDLE part of What's New 3.10 to 2022 (GH-30906) 2022-01-25 23:48:53 -05:00
3.11.rst bpo-46608: exclude marshalled-frozen data if deep-freezing to save 300 KB space (GH-31074) 2022-02-04 09:57:03 -08:00
changelog.rst
index.rst Doc: What's new in Python 3.11 (GH-25963) 2021-05-07 10:06:45 +02:00