Skip to content

Python Launcher ignoring config files #95359

Closed
@SteveBarnes-BH

Description

@SteveBarnes-BH

Bug report

Following installing 3.11.0b5 (main, Jul 25 2022, 22:59:14) [MSC v.1932 64 bit (AMD64)] with install launcher for all users py-0 reports that 3.11 is the default py target. Adding a py.ini file with the contents below to both of the following locations:

  1. C:\Windows
  2. %APPDATA%
    Does not override this - settung PY_PYTHON=3.9 does.
    File content:
[defaults]
python=3.9

Running the older launcher the .ini file settings are honored i.e. py -0 reports 3.9 as the default.

Your environment

Windows 10 - 64bit

  • CPython versions tested on:
  • Operating system and architecture:
    Windows 10 - 64bit Python: 3.11.0b5 (main, Jul 25 2022, 22:59:14) [MSC v.1932 64 bit (AMD64)] but with multiple other pythons installed.

Metadata

Metadata

Assignees

Labels

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions