[libcxx-commits] [libcxx] [libc++] Use python3 in ssh.py's shebang (PR #183491)

Lucas Chollet via libcxx-commits libcxx-commits at lists.llvm.org
Thu Feb 26 02:56:50 PST 2026


https://github.com/LucasChollet created https://github.com/llvm/llvm-project/pull/183491

This is the one I stumbled upon, but there are a few more in the project.
`find libcxx -type f -exec sed -i '1s/env python$/env python3/' {} \;` gives a dozen more, should I change all of them?

>From 2345eabf98acd305b66aecc7b65a4b6d6e34a5d1 Mon Sep 17 00:00:00 2001
From: Lucas Chollet <lucas.chollet at free.fr>
Date: Thu, 26 Feb 2026 11:34:50 +0100
Subject: [PATCH] [libc++] Use python3 in ssh.py's shebang

---
 libcxx/utils/ssh.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libcxx/utils/ssh.py b/libcxx/utils/ssh.py
index 77e79ce3d71fb..65041757e54ac 100755
--- a/libcxx/utils/ssh.py
+++ b/libcxx/utils/ssh.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # ===----------------------------------------------------------------------===##
 #
 # Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.



More information about the libcxx-commits mailing list