You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that a semver major release is being proposed (#2603), I wanted to mention some thoughts I have about the default Python install paths check for Windows.
See: winDefaultLocations and winDefaultLocationsArray in find-python.js.
Try the py.exe launcher before exhaustively searching all the default install paths used by python.org's installer
(See: here and put the pylauncher check before the default locations loop rather than after.)
Maybe stop all this default path searching altogether?
I have felt "eh" about searching (up to) 20 paths trying to find Python, ever since I introduced it. Although I think it's still more helpful than harmful to search for Python in a bunch of places and maybe not find it, since it's still really fast in my experience. Potentially adding another Python version to make it (up to) 25 paths has me feeling slightly more "eh" about it.
Thoughts?
The text was updated successfully, but these errors were encountered:
I hope this isn't holding up v9 -- I guess it could go in a v10 or v11 just as easily. (I'll let reviewers decide if/when to merge, and advise at what semver level.) Thought I would have time to post a PR sooner. Sorry about that.
Now that a semver major release is being proposed (#2603), I wanted to mention some thoughts I have about the default Python install paths check for Windows.
See:
winDefaultLocations
andwinDefaultLocationsArray
infind-python.js
.I have a few suggestions in mind:
'310'
to the list)py.exe
launcher before exhaustively searching all the default install paths used by python.org's installerThoughts?
The text was updated successfully, but these errors were encountered: