diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2021-09-15 20:15:32 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-15 20:15:32 (GMT) |
commit | 3814e2036d96e2b6c69afce61926bb0a2a34d2d9 (patch) | |
tree | 07370122389b21359fabbd658bc0acafde69d127 /PCbuild | |
parent | d081eab7df176453c9834b852a579e1ada0354b2 (diff) | |
download | cpython-3814e2036d96e2b6c69afce61926bb0a2a34d2d9.zip cpython-3814e2036d96e2b6c69afce61926bb0a2a34d2d9.tar.gz cpython-3814e2036d96e2b6c69afce61926bb0a2a34d2d9.tar.bz2 |
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
Diffstat (limited to 'PCbuild')
-rw-r--r-- | PCbuild/_freeze_module.vcxproj | 8 | ||||
-rw-r--r-- | PCbuild/_freeze_module.vcxproj.filters | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/PCbuild/_freeze_module.vcxproj b/PCbuild/_freeze_module.vcxproj index a87dca7..e306884 100644 --- a/PCbuild/_freeze_module.vcxproj +++ b/PCbuild/_freeze_module.vcxproj @@ -245,10 +245,10 @@ <IntFile>$(IntDir)zipimport.g.h</IntFile> <OutFile>$(PySourcePath)Python\frozen_modules\zipimport.h</OutFile> </None> - <None Include="..\Tools\freeze\flag.py"> - <ModName>hello</ModName> - <IntFile>$(IntDir)hello.g.h</IntFile> - <OutFile>$(PySourcePath)Python\frozen_modules\hello.h</OutFile> + <None Include="..\Lib\__hello__.py"> + <ModName>__hello__</ModName> + <IntFile>$(IntDir)__hello__.g.h</IntFile> + <OutFile>$(PySourcePath)Python\frozen_modules\__hello__.h</OutFile> </None> <!-- END frozen modules --> </ItemGroup> diff --git a/PCbuild/_freeze_module.vcxproj.filters b/PCbuild/_freeze_module.vcxproj.filters index bed7920..6e7c1bb 100644 --- a/PCbuild/_freeze_module.vcxproj.filters +++ b/PCbuild/_freeze_module.vcxproj.filters @@ -25,7 +25,7 @@ <None Include="..\Lib\zipimport.py"> <Filter>Python Files</Filter> </None> - <None Include="..\Tools\freeze\flag.py"> + <None Include="..\Lib\__hello__.py"> <Filter>Python Files</Filter> </None> <!-- END frozen modules --> |