[Python-ideas] Possible Enhancement to py Launcher - set default

Alex Walters tritium-list at sdamon.com
Tue Feb 6 05:10:43 EST 2018


I actually like the idea of being able to modify the py.ini file to set the
default from py.exe.  That seams like the most intuitive thing to me.

> -----Original Message-----
> From: Python-ideas [mailto:python-ideas-bounces+tritium-
> list=sdamon.com at python.org] On Behalf Of Jan Claeys
> Sent: Monday, February 5, 2018 10:47 AM
> To: python-ideas at python.org
> Subject: Re: [Python-ideas] Possible Enhancement to py Launcher - set
> default
> 
> On Mon, 2018-02-05 at 11:04 +0000, Paul Moore wrote:
> > On 5 February 2018 at 08:10, Steve Barnes <gadgetsteve at live.co.uk>
> > wrote:
> > > When a new version of python is in alpha/beta it is often desirable
> > > to have it installed for tests but remain on a previous version for
> > > day to day use.
> > >
> > > However, currently the Windows py launcher defaults to the highest
> > > version that it finds, which means that unless you are very careful
> > > you will end up having to explicitly specify your older version
> > > every time that you start python with it once you have installed
> > > the newer version.
> > > [...]
> >
> > There's a `py.ini` file that lets you set the default version. See
> > https://docs.python.org/3.6/using/windows.html#customization for
> > details. Is that just something you weren't aware of, or does it not
> > address the issue you're having?
> 
> Maybe the Windows installer should offer to set/change that, especially
> when installing a non-release version?
> 
> 
> --
> Jan Claeys
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/



More information about the Python-ideas mailing list