Message358061
See PEP 486 (https://www.python.org/dev/peps/pep-0486/). This is intended behaviour, as it is assumed that explicitly specifying a Python version means that the user had a specific Python interpreter in mind.
There are also technical issues - if the shebang says #!/usr/bin/python2, and a virtual environment is active, how do we know if it's a Python 2 or 3 environment (without launching the interpreter, which is a significant extra cost for the launcher)? It would definitely be wrong to launch a Python 3 interpreter in that case. |
|
Date |
User |
Action |
Args |
2019-12-09 08:19:50 | paul.moore | set | recipients:
+ paul.moore, tim.golden, zach.ware, steve.dower, Alexandros Karypidis |
2019-12-09 08:19:50 | paul.moore | set | messageid: <1575879590.47.0.201202973181.issue38999@roundup.psfhosted.org> |
2019-12-09 08:19:50 | paul.moore | link | issue38999 messages |
2019-12-09 08:19:50 | paul.moore | create | |
|