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

via libcxx-commits libcxx-commits at lists.llvm.org
Thu Feb 26 02:57:25 PST 2026


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libcxx

Author: Lucas Chollet (LucasChollet)

<details>
<summary>Changes</summary>

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?

---
Full diff: https://github.com/llvm/llvm-project/pull/183491.diff


1 Files Affected:

- (modified) libcxx/utils/ssh.py (+1-1) 


``````````diff
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.

``````````

</details>


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


More information about the libcxx-commits mailing list