On 2019-07-09 22:46, Brett Cannon wrote:
On Mon, Jul 8, 2019 at 10:39 PM Steve Barnes <GadgetSteve@live.co.uk <mailto:GadgetSteve@live.co.uk>> wrote:
Currently the py[w] command will launch the latest python by default however I feel that this discourages the testing of pre-releases & release candidates as once they are installed they will become the default. What I would like is for the default to be the highest version number of a full release but the user to be able to specify a specific version even if it is a pre-release.____
__ __
The currently py or py -3 would give python 3.7 (if installed) but py -3.8 would give the pre-release/release candidate if installed.____
__ __
Any thoughts on whether this would be a good idea – I am quite willing to undertake the changes.
The problem with this is it would either make the Python launcher have to be updated with every release or it would have to download some data to know what versions are not considered stable. Both of these go against the general design of the launcher as it's meant to not require updating, be future-compatible, and extremely fast.
When you start Python, it reports its version. How discoverable is that version for the launcher, and for tools in general?