Skip to content

Commit 64ad969

Browse files
Sort keys in sysconfig data (#415)
1 parent 0649b17 commit 64ad969

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpython-unix/build-cpython.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ def format_sysconfigdata():
648648
649649
with open(SYSCONFIGDATA, "wb") as fh:
650650
fh.write(b'# system configuration generated and used by the sysconfig module\n')
651-
fh.write(('build_time_vars = %s' % json.dumps(build_time_vars, indent=4)).encode("utf-8"))
651+
fh.write(('build_time_vars = %s' % json.dumps(build_time_vars, indent=4, sort_keys=True)).encode("utf-8"))
652652
fh.close()
653653
654654

0 commit comments

Comments
 (0)