]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-45019: Clean up the frozen __hello__ module. (gh-28374)
authorEric Snow <ericsnowcurrently@gmail.com>
Wed, 15 Sep 2021 20:15:32 +0000 (14:15 -0600)
committerGitHub <noreply@github.com>
Wed, 15 Sep 2021 20:15:32 +0000 (14:15 -0600)
commit3814e2036d96e2b6c69afce61926bb0a2a34d2d9
tree07370122389b21359fabbd658bc0acafde69d127
parentd081eab7df176453c9834b852a579e1ada0354b2
bpo-45019: Clean up the frozen __hello__ module. (gh-28374)

Here's one more small cleanup that should have been in PR gh-28319. We eliminate stdout side-effects from importing the frozen __hello__ module, and update tests accordingly. We also move the module's source file into Lib/ from Toos/freeze/flag.py.

https://bugs.python.org/issue45019
12 files changed:
Lib/__hello__.py [new file with mode: 0644]
Lib/ctypes/test/test_values.py
Lib/test/test_frozen.py
Lib/test/test_importlib/frozen/test_loader.py
Makefile.pre.in
PCbuild/_freeze_module.vcxproj
PCbuild/_freeze_module.vcxproj.filters
Python/frozen.c
Python/frozen_modules/MANIFEST
Python/frozen_modules/__hello__.h [new file with mode: 0644]
Python/frozen_modules/hello.h [deleted file]
Tools/scripts/freeze_modules.py