<div dir="ltr"><div dir="ltr">On Wed, Jan 29, 2020 at 1:12 PM Tobias Hieta via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 29, 2020, 21:30 Fangrui Song via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:</div></div></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I also recall Reid said `#!/usr/bin/env python` might make Windows<br>
developers happier but I forget the details.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">Python on windows has a wrapper that parses this line and selects which python to use bases on that.</div></div></blockquote><div><br></div><div>I believe many developers develop from the "git bash" msys shell. In this context, bash will interpret the shebang line. If the shebang line is `#!/usr/bin/env python3` and there is no python3.exe on PATH, that will be an error.</div><div><br></div><div>For the Linux distros that are removing Python 2, will "python" find Python 3 in the future, or will we have to say "python3" explicitly?</div></div></div>