<div dir="ltr">Hello folks,<div><br></div><div>We have a mixture of python(2) vs python3 shebang usage in llvm codebase.</div><div><br></div><div>As python2 upstream support has ended, what's the LLVM policy here? Shall we change the shebang to python3 for all scripts? </div><div><br></div><div>- For llvm-developer-only python scripts (e.g. clang-tidy/add_new_check.py), it is safe to do this change, as <a href="https://llvm.org/docs/GettingStarted.html#software">LLVM development</a> requires python >= 3.6 </div><div>- For python scripts being interacted with people's workflow (e.g. clang-format-diff.py), it seems unclear to me, changing the shebang would break people's workflow on python2 machines.</div><div><br></div><div>I have some patches (<a href="https://reviews.llvm.org/D101038">https://reviews.llvm.org/D101038</a>, <a href="https://reviews.llvm.org/D101037">https://reviews.llvm.org/D101037</a>). What do people think?</div><div><br></div><div><br></div><div>Thanks,</div><div>Haojian</div></div>