Subject: [PATCH 5/6] py-compile: fix display when compiling multiple files

From: Mike Frysinger <[email-masked]>
Date: Sun, 6 Feb 2022 01:57:13 -0500

The compilation steps print the filename as it runs, but forgets to add
a space after it, so they all get squashed together:
$ ./py-compile 1.py 2.py 3.py
Byte-compiling python modules...
1.py2.py.3.py

* lib/py-compile: Add missing write.
---
 lib/py-compile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/py-compile b/lib/py-compile
index 2745d0b6b045..f72d4945da96 100755
--- a/lib/py-compile
+++ b/lib/py-compile
@@ -141,7 +141,7 @@ for file in sys.argv[1:]:
     if not os.path.exists(filepath) or not (len(filepath) >= 3
                                             and filepath[-3:] == '.py'):
 	    continue
-    sys.stdout.write(file)
+    sys.stdout.write(file + ' ')
     sys.stdout.flush()
     if hasattr(sys.implementation, 'cache_tag'):
         py_compile.compile(filepath, importlib.util.cache_from_source(filepath), path)
@@ -163,7 +163,7 @@ for file in sys.argv[1:]:
     if not os.path.exists(filepath) or not (len(filepath) >= 3
                                             and filepath[-3:] == '.py'):
 	    continue
-    sys.stdout.write(file)
+    sys.stdout.write(file + ' ')
     sys.stdout.flush()
     if hasattr(sys.implementation, 'cache_tag'):
         py_compile.compile(filepath, importlib.util.cache_from_source(filepath), path)
-- 
2.34.1