[libcxx-commits] [clang] [clang-tools-extra] [compiler-rt] [libc] [libcxx] [lld] [lldb] [llvm] [mlir] [openmp] [polly] Python-related cleanups (PR #163566)
Ross Burton via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Oct 15 08:06:42 PDT 2025
rossburton wrote:
> Moreover, this may have pretty big implications since the implementation of these commands 8s very inconsistent across platforms and no common rules seem to exist. Some platforms have `python` that aliases to `python3`, some alias it to `python2`, some only have `python` etc. so I'm not convinced it's a good idea to just change these broadly without considering possible platform specific requirements
My point exactly: the bulk of these scripts _are_ python3 scripts, so we can be precise. I'm unaware of any real systems where there is no python3 binary. If this code wanted to handle systems where there is only a `python` then half of the scripts have the wrong shebang...
https://github.com/llvm/llvm-project/pull/163566
More information about the libcxx-commits
mailing list