mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Minimum fixes to make freeze.py do something useful.
This commit is contained in:
parent
bf76ce168c
commit
0063958c2e
2 changed files with 7 additions and 8 deletions
|
|
@ -201,7 +201,7 @@ def main():
|
|||
|
||||
# modules that are imported by the Python runtime
|
||||
implicits = []
|
||||
for module in ('site', 'warnings',):
|
||||
for module in ('site', 'warnings', 'encodings.utf_8', 'encodings.latin_1'):
|
||||
if module not in exclude:
|
||||
implicits.append(module)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue