"py.ini" question

Mats Wichmann mats at wichmann.us
Sun Apr 25 10:30:42 EDT 2021


On 4/24/21 2:57 PM, Chris Angelico wrote:
> On Sun, Apr 25, 2021 at 5:57 AM Gisle Vanem <gisle.vanem at gmail.com> wrote:
>>
>> With 'py -3.6' or 'py 3.8' I get the expected.
>> But with 'py -3':
>>     Python 3.8.9 (default, Apr 13 2021, 15:54:59)  [GCC 10.2.0 64 bit (AMD64)] on win32
>>
> I believe that's because you're asking for "the latest in the 3.x series".

unless differently described by the ini file, which is what the OP is 
trying to do.

I just added a 3.10 alpha to my Windows setup (I don't do my programming 
there, so there hadn't been any need), and set up an ini file to leave 
3.9 as the default and all works as expected - py -0, py, py -3, py 
-3.10 all given me the one I would expect to get based on that setup (-0 
shows 3.9-64 starred, despite 3.10-64 being "the latest).

Personally stumped why it's not working for Gisle.


More information about the Python-list mailing list