This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.snow
Recipients BTaskaya, Mark.Shannon, brandtbucher, brett.cannon, eric.snow, gvanrossum, indygreg, larry, lemburg, methane, miss-islington, nascheme, ncoghlan, ronaldoussoren, shihai1991, terry.reedy
Date 2021-09-15.17:45:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1631727922.51.0.151969928559.issue45020@roundup.psfhosted.org>
In-reply-to
Content
At this point the fundamental work is done.  Here are some follow-up tasks to wrap up this issue:

* freeze the remaining stdlib modules imported during startup (os, site, codecs, encodings.*)
   + blocked by bpo-45186 and bpo-45188
* default to "on" (except if actually running out of the source tree)
   + blocked by bpo-45211 (if we want to minimize disk access)
* always default to "on" if it's a PGO build, even if running out of the source tree
* stop tracking the frozen module .h files in the repo
   + blocked by bpo-45188
* (maybe) freeze modules imported for "python -m ..." (e.g. runpy)
* (maybe) freeze a small subset of the encodings (e.g. UTF-8)
   + blocked by a valid __path__ (see below) and consequently bpo-45211

Other related follow-up tasks:

* (maybe) make frozen stdlib modules more like source modules, with __file__ and __path__ (see bpo-21736)
   + blocked by bpo-45211
   + __path__ allows us to have frozen stdlib packages with non-frozen submodules (e.g. encodings)
* (maybe) freeze other modules (e.g. commonly used modules, sysconfig)
* (maybe) use something other than linear search for looking up frozen modules (see bpo-45213)
History
Date User Action Args
2021-09-15 17:45:22eric.snowsetrecipients: + eric.snow, lemburg, gvanrossum, brett.cannon, nascheme, terry.reedy, ronaldoussoren, ncoghlan, larry, methane, Mark.Shannon, indygreg, miss-islington, brandtbucher, BTaskaya, shihai1991
2021-09-15 17:45:22eric.snowsetmessageid: <1631727922.51.0.151969928559.issue45020@roundup.psfhosted.org>
2021-09-15 17:45:22eric.snowlinkissue45020 messages
2021-09-15 17:45:22eric.snowcreate