Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Lib/distutils/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ def byte_compile (py_files,
else:
from py_compile import compile

for file in py_files:
for file in sorted(py_files):
if file[-3:] != ".py":
# This lets us be lazy and not filter filenames in
# the "install_lib" command.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
distutils: To get reproducible builds, byte_compile() of distutils.util now
sorts filenames. Patch from OpenSUSE by Bernhard M. Wiedemann.