New submission from Eric Snow <ericsnowcurren...@gmail.com>:
Currently we freeze the 3 main import-related modules into the python binary (along with one test module). This allows us to bootstrap the import machinery from Python modules. It also means we get better performance importing those modules. If we freeze modules that are likely to be used during execution then we get even better startup times. I'll be putting up a PR that does so, freezing all the modules that are imported during startup. This could also be done for any stdlib modules that are commonly imported. (also see #45019 and https://github.com/faster-cpython/ideas/issues/82) ---------- assignee: eric.snow components: Build messages: 400370 nosy: brett.cannon, eric.snow, gvanrossum, nedbat priority: normal severity: normal stage: needs patch status: open title: Freeze all modules imported during startup. type: enhancement versions: Python 3.11 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45020> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com