FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[Original HTTPS Page]
bpo-45020: Freeze the modules imported during startup. by ericsnowcurrently · Pull Request #28107 · python/cpython · GitHub
python
cpython
Repository navigation
Code
Issues
5k+
(5k+)
Pull requests
2.8k
(2.8k)
Actions
Projects
Security and quality
Insights
bpo-45020: Freeze the modules imported during startup.
- #28107
#28107
Closed
ericsnowcurrently
wants to merge 61 commits into
python:main
python/cpython:main
from
ericsnowcurrently:frozen-startup-modules
ericsnowcurrently/cpython:frozen-startup-modules
Copy head branch name to clipboard
Conversation
Commits
61
(61)
Checks
Files changed
Closed
bpo-45020: Freeze the modules imported during startup.
#28107
ericsnowcurrently
wants to merge 61 commits into
python:main
python/cpython:main
from
ericsnowcurrently:frozen-startup-modules
ericsnowcurrently/cpython:frozen-startup-modules
Copy head branch name to clipboard
Commits
Commits on Sep 3, 2021
Fix freeze_module() in freeze_modules.py.
ericsnowcurrently
committed
a8bd3fc
View commit details
Copy full SHA for a8bd3fc
Browse repository at this point
Add FrozenSource and FrozenModule to freeze_modules.py.
ericsnowcurrently
committed
6555ae4
View commit details
Copy full SHA for 6555ae4
Browse repository at this point
Leave all non-required frozen modules uncommitted.
ericsnowcurrently
committed
3a63f92
View commit details
Copy full SHA for 3a63f92
Browse repository at this point
Leave *all* frozen modules uncommitted.
ericsnowcurrently
committed
0587328
View commit details
Copy full SHA for 0587328
Browse repository at this point
Generate the list of frozen modules used by test_ctypes.
ericsnowcurrently
committed
9881456
View commit details
Copy full SHA for 9881456
Browse repository at this point
Freeze the stdlib modules loaded during startup.
ericsnowcurrently
committed
3df3e23
View commit details
Copy full SHA for 3df3e23
Browse repository at this point
Add the -X frozen_modules CLI option and PyConfig.use_frozen_modules.
ericsnowcurrently
committed
bfd733c
View commit details
Copy full SHA for bfd733c
Browse repository at this point
Ignore frozen modules depending on "-X frozen_modules".
ericsnowcurrently
committed
ca952fc
View commit details
Copy full SHA for ca952fc
Browse repository at this point
Explicitly control PyConfig.use_frozen_modules during tests.
ericsnowcurrently
committed
b4ca34c
View commit details
Copy full SHA for b4ca34c
Browse repository at this point
Remember the stdlib dir during startup (adding PyConfig.stdlib_dir).
ericsnowcurrently
committed
ef5f3f7
View commit details
Copy full SHA for ef5f3f7
Browse repository at this point
Add _Py_GetMainConfig().
ericsnowcurrently
committed
4b630b8
View commit details
Copy full SHA for 4b630b8
Browse repository at this point
Let _Py_GetStdlibDir() fall back to a config.
ericsnowcurrently
committed
dd1a498
View commit details
Copy full SHA for dd1a498
Browse repository at this point
Add _PyConfig_InitImportConfig().
ericsnowcurrently
committed
af07489
View commit details
Copy full SHA for af07489
Browse repository at this point
Identify whether or not the executable is running installed (adding _Py_IsInstalled()).
ericsnowcurrently
committed
4e4baeb
View commit details
Copy full SHA for 4e4baeb
Browse repository at this point
Default to "off" if in development.
ericsnowcurrently
committed
344a5ec
View commit details
Copy full SHA for 344a5ec
Browse repository at this point
Remember if built with --enable-optimizations (adding the _Py_OPT macro).
ericsnowcurrently
committed
8710d80
View commit details
Copy full SHA for 8710d80
Browse repository at this point
Default to "on" for PGO builds.
ericsnowcurrently
committed
77cf801
View commit details
Copy full SHA for 77cf801
Browse repository at this point
Add a NEWS entry.
ericsnowcurrently
committed
2702554
View commit details
Copy full SHA for 2702554
Browse repository at this point
Commits on Sep 7, 2021
Fix test_embed for PyConfig.stdlib_dir.
ericsnowcurrently
committed
becae8f
View commit details
Copy full SHA for becae8f
Browse repository at this point
In _Py_GetStdlibDir(), treat "" as though it were NULL.
ericsnowcurrently
committed
7f0c8eb
View commit details
Copy full SHA for 7f0c8eb
Browse repository at this point
Fix test_embed for "Default to "off" if in development.".
ericsnowcurrently
committed
d07f63c
View commit details
Copy full SHA for d07f63c
Browse repository at this point
Treat __main__ as an essential frozen module.
ericsnowcurrently
committed
4787a70
View commit details
Copy full SHA for 4787a70
Browse repository at this point
Fix test_cmd_line_script for "Default to "off" if in development.".
ericsnowcurrently
committed
a75b808
View commit details
Copy full SHA for a75b808
Browse repository at this point
Ignore frozen submodules in generate_stdlib_module_names.py.
ericsnowcurrently
committed
2050793
View commit details
Copy full SHA for 2050793
Browse repository at this point
Add a comment to the frozen modules manifest file.
ericsnowcurrently
committed
e16771d
View commit details
Copy full SHA for e16771d
Browse repository at this point
_Py_IsInstalled -> _Py_IsDevelopmentEnv.
ericsnowcurrently
committed
e5b4da7
View commit details
Copy full SHA for e5b4da7
Browse repository at this point
Look up $_PYTHONTESTFROZENMODULES using getenv() instead of in os.environ.
ericsnowcurrently
committed
8b54908
View commit details
Copy full SHA for 8b54908
Browse repository at this point
Remove zipimport.h from the repo.
ericsnowcurrently
committed
a82b06a
View commit details
Copy full SHA for a82b06a
Browse repository at this point
Add zipimport to the list of essential frozen modules.
ericsnowcurrently
committed
ead34a1
View commit details
Copy full SHA for ead34a1
Browse repository at this point
Show how the frozen manifest changed.
ericsnowcurrently
committed
58ccaff
View commit details
Copy full SHA for 58ccaff
Browse repository at this point
Stop using the frozen helper in test_cmd_line_script.
ericsnowcurrently
committed
6d068b1
View commit details
Copy full SHA for 6d068b1
Browse repository at this point
Go back to keeping frozen modules in the repo.
ericsnowcurrently
committed
1021f53
View commit details
Copy full SHA for 1021f53
Browse repository at this point
Commits on Sep 8, 2021
Also stop tracking the frozen manifest.
ericsnowcurrently
committed
c01b532
View commit details
Copy full SHA for c01b532
Browse repository at this point
Mark the frozen manifest as a generated file.
ericsnowcurrently
committed
0c1061d
View commit details
Copy full SHA for 0c1061d
Browse repository at this point
Drop a superfluous prefix on makefile rule dependencies.
ericsnowcurrently
committed
fa23009
View commit details
Copy full SHA for fa23009
Browse repository at this point
Do not generate test code.
ericsnowcurrently
committed
03b9571
View commit details
Copy full SHA for 03b9571
Browse repository at this point
Drop unused code from freeze_modules.py.
ericsnowcurrently
committed
b3a7aaf
View commit details
Copy full SHA for b3a7aaf
Browse repository at this point
Flip around the arg to the "frozen_modules" test helper.
ericsnowcurrently
committed
6a896f1
View commit details
Copy full SHA for 6a896f1
Browse repository at this point
Disable frozen modules if $_PYTHONTESTFROZENMODULES is 0.
ericsnowcurrently
committed
211febe
View commit details
Copy full SHA for 211febe
Browse repository at this point
Add the "usefrozen" arg to CleanImport.__init__().
ericsnowcurrently
committed
fbaf15c
View commit details
Copy full SHA for fbaf15c
Browse repository at this point
Undo the changes to tests that were using the os module.
ericsnowcurrently
committed
6243c54
View commit details
Copy full SHA for 6243c54
Browse repository at this point
Undo the changes to tests that were using the os module.
ericsnowcurrently
committed
da978a2
View commit details
Copy full SHA for da978a2
Browse repository at this point
Ignore decode errors in find_frozen().
ericsnowcurrently
committed
46d488f
View commit details
Copy full SHA for 46d488f
Browse repository at this point
Fix test_ctypes.
ericsnowcurrently
committed
93fc5c0
View commit details
Copy full SHA for 93fc5c0
Browse repository at this point
Commits on Sep 9, 2021
Allow for a .exe suffix on the executable.
ericsnowcurrently
committed
dd36ba5
View commit details
Copy full SHA for dd36ba5
Browse repository at this point
Do not clear the frozen .h files with "make distclean", now that they are back in the repo.
ericsnowcurrently
committed
45e7509
View commit details
Copy full SHA for 45e7509
Browse repository at this point
Update the frozen modules using a debug build.
ericsnowcurrently
committed
a7d607f
View commit details
Copy full SHA for a7d607f
Browse repository at this point
Commits on Sep 10, 2021
Always flush the printed "title" when freezing modules.
ericsnowcurrently
committed
75556af
View commit details
Copy full SHA for 75556af
Browse repository at this point
Add the frozen manifest back into the repo.
ericsnowcurrently
committed
37b79f1
View commit details
Copy full SHA for 37b79f1
Browse repository at this point
Drop the PGO check (for now).
ericsnowcurrently
committed
d93c1e7
View commit details
Copy full SHA for d93c1e7
Browse repository at this point
Drop _Py_IsDevelopmentEnv().
ericsnowcurrently
committed
25b60de
View commit details
Copy full SHA for 25b60de
Browse repository at this point
Drop -_Py_GetStdlibDir() and PyConfig.stdlib_dir.
ericsnowcurrently
committed
358ab69
View commit details
Copy full SHA for 358ab69
Browse repository at this point
Default to "-X frozen_modules=off" if built with --with-debug.
ericsnowcurrently
committed
1fc1198
View commit details
Copy full SHA for 1fc1198
Browse repository at this point
Fix test_embed.
ericsnowcurrently
committed
37eb1f8
View commit details
Copy full SHA for 37eb1f8
Browse repository at this point
Commits on Sep 11, 2021
Clean up the marshal code.
ericsnowcurrently
committed
2e05771
View commit details
Copy full SHA for 2e05771
Browse repository at this point
Add WFILE.refs.nonref.
ericsnowcurrently
committed
82b4f85
View commit details
Copy full SHA for 82b4f85
Browse repository at this point
Add _PyMarshal_WriteForFreezing().
ericsnowcurrently
committed
097fc40
View commit details
Copy full SHA for 097fc40
Browse repository at this point
Fix the ASAN job.
ericsnowcurrently
committed
a333fa3
View commit details
Copy full SHA for a333fa3
Browse repository at this point
Fix the Windows builds.
ericsnowcurrently
committed
8abf4a0
View commit details
Copy full SHA for 8abf4a0
Browse repository at this point
Use a simpler change for test_idle.
ericsnowcurrently
committed
1005321
View commit details
Copy full SHA for 1005321
Browse repository at this point
Commits on Sep 13, 2021
Fix test_4_daemon_threads.
ericsnowcurrently
committed
7d62747
View commit details
Copy full SHA for 7d62747
Browse repository at this point
Back
|
FazBrowse Home
|
New Git URL