DeinAlptraum wrote:

Relevant PEP: https://peps.python.org/pep-0394/

To quote:
"For scripts that are only expected to be run in an activated virtual 
environment, shebang lines can be written as #!/usr/bin/env python, as this 
instructs the script to respect the active virtual environment."

So I'm not sure the shebang for venvs should be changed to python3.

Mote over, 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 

https://github.com/llvm/llvm-project/pull/163566
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to