This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author FFY00
Recipients FFY00, christian.heimes, doko, jaraco, steve.dower, willingc
Date 2021-08-23.13:27:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1629725273.33.0.352265860161.issue44982@roundup.psfhosted.org>
In-reply-to
Content
In the effort of making the UX better with vendored Python versions, I think it would make sense to track and expose vendor information.

Initially, the vendor information would be comprised of two fields, the vendor string (eg. `Debian`) and the vendor name (eg. `debian`).

If specified, it would change the interpreter/installation in the following ways:
  - The vendor string would be shown in places like the IDLE shell (eg. [1])
  - The vendor name would be added to the installation paths (/usr/lib/python3.9 would become /usr/lib/python3.9-debian)
    - This would include scripts, so the interpreter would be called python3-debian, the vendors can then rename or symlink it to python3 if they want to have that be the default Python on the system

Additionally, I think we should add two new functions to the platform module, platform.vendor() and platform.vendor_name().

Overall, I think this would help out users identify the Python installation and avoid clashes between Python installations, even allowing parallel installations.
If I remember everything correctly, this should fix Matthias issues with bpo-43976. Matthias, could you confirm?

Any thoughts?


[1] new IDLE shell output

Debian Python 3.9.6 (default, Jun 30 2021, 10:22:16)
[GCC 11.1.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
History
Date User Action Args
2021-08-23 13:27:53FFY00setrecipients: + FFY00, doko, jaraco, christian.heimes, steve.dower, willingc
2021-08-23 13:27:53FFY00setmessageid: <1629725273.33.0.352265860161.issue44982@roundup.psfhosted.org>
2021-08-23 13:27:53FFY00linkissue44982 messages
2021-08-23 13:27:53FFY00create