[libcxx-commits] [libcxx] ea0f6e6 - [libc++] Fix quoting in Python string that is not accepted by all Python versions

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri Sep 5 08:21:11 PDT 2025


Author: Louis Dionne
Date: 2025-09-05T11:21:03-04:00
New Revision: ea0f6e67579663c064a28fcfbb64b6b516d20a8a

URL: https://github.com/llvm/llvm-project/commit/ea0f6e67579663c064a28fcfbb64b6b516d20a8a
DIFF: https://github.com/llvm/llvm-project/commit/ea0f6e67579663c064a28fcfbb64b6b516d20a8a.diff

LOG: [libc++] Fix quoting in Python string that is not accepted by all Python versions

Added: 
    

Modified: 
    libcxx/utils/parse-spec-result

Removed: 
    


################################################################################
diff  --git a/libcxx/utils/parse-spec-result b/libcxx/utils/parse-spec-result
index fe5a924de4a1a..bdfc966932255 100755
--- a/libcxx/utils/parse-spec-result
+++ b/libcxx/utils/parse-spec-result
@@ -102,7 +102,7 @@ def main(argv):
         benchmark = headers.index('Benchmark')
         time = headers.index('Est. Base Run Time')
         for row in rows:
-            print(f'{row[benchmark].replace('.', '_')}.execution_time {row[time]}')
+            print(f'{row[benchmark].replace(".", "_")}.execution_time {row[time]}')
 
 if __name__ == '__main__':
     main(sys.argv[1:])


        


More information about the libcxx-commits mailing list