[issue34142] Windows launcher version lookup flawed

2021-03-26 Thread Eryk Sun


Change by Eryk Sun :


--
type: behavior -> enhancement
versions: +Python 3.10 -Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34142] Windows launcher version lookup flawed

2019-08-02 Thread Steve Dower


Change by Steve Dower :


--
versions: +Python 3.8, Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34142] Windows launcher version lookup flawed

2018-07-18 Thread Eryk Sun


Eryk Sun  added the comment:

This line in the docs is incorrect:

If PY_PYTHON=3 and PY_PYTHON3=3.1, the commands python and python3 
will both use specifically 3.1

It implies that setting the `python` virtual command to "3" or "2" will use the 
configured version of the `python3` or `python2` virtual command. As 
implemented, these three virtual commands are separately configured.

The `python` command is different in one way, since it's also the overall 
default. If the version set for `python2` or `python3` doesn't match an 
installed version, that's the end of the search. OTOH, the `python` command 
will continue to search for any version. For a shebang it prefers "2" over "3", 
and vice versa for the REPL or a script without a shebang.

--
nosy: +eryksun

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34142] Windows launcher version lookup flawed

2018-07-17 Thread LarryZA


LarryZA  added the comment:

https://docs.python.org/3/using/windows.html

Section 3.4.4.2

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34142] Windows launcher version lookup flawed

2018-07-17 Thread Steve Dower


Steve Dower  added the comment:

The behavior is correct, so the documentation needs fixing.

Which page has that example on it? Is it assuming that you only have 3.1 
installed?

--
assignee:  -> docs@python
components: +Documentation
nosy: +docs@python

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue34142] Windows launcher version lookup flawed

2018-07-17 Thread LarryZA


New submission from LarryZA :

In the manual it says that the following .ini file will cause the launcher to 
run Python3.1 for calls of `py` or `py -3`

[defaults]
python=3
python3=3.1

On my Windows 7 machine I have Python2.7-32, Python3.4-64, and Python3.7-64 
(installed in that order).

Setting the ini to:

[defaults]
python=3
python3=3.4

results in `py` running 3.7-64 (expected 3.4-64) and `py -3` running 3.4-64.

Setting both to point to 3.4 in the ini will run 3.4-64 for both commands.

--
components: Windows
messages: 321855
nosy: LarryZA, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Windows launcher version lookup flawed
type: behavior
versions: Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com