[issue25405] User install of 3.5 removes py.exe from C:\Windows

Terry J. Reedy report at bugs.python.org
Fri Oct 16 23:05:35 EDT 2015


Terry J. Reedy added the comment:

In my view, py.exe is a mess.  Steve, I know this is something you just inherited.  I have multiple all-user installs.  The first problem I have with py.exe is its defaulting to 2.7 instead of latest 3.5, and the impossibility of changing this.  The second, given that it does have a default, is its being given all the file associations, so one can only 'open with' 2.7 on the context menu.  (I know, pydev discussion is needed.)

I have twice changed the default by the cumbersome method given in the Using Python  manual, which requires admin privileges, which some people do not have.  Yet once again, the default is 2.7.  I am not sure whether this reset behavior started with 3.5 or not. I believe not.

In any case, the installer does not say whether one should or should not check (or leave checked) "[x] install launcher" when it is already installed.  Has it been upgraded ever? Or is the same buggy version just being reinstalled.  Paul, it sounds like for your, it did the only the 'delete the old' part of a re-install.

Bottom line: it should not be deleted unless re-installed; it should only be re-installed if there is an upgrade; and if it is re-installed, the changed default should not be disturbed.  If the latter is not possible with the user change in /Windows, then the method of changing the default should be changed.  For instance, "py -default x.y", which would be a good idea anyway.

----------
nosy: +terry.reedy

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25405>
_______________________________________


More information about the Python-bugs-list mailing list