Title: Install a static installation description file as part of the Python installation · Issue #107956 · python/cpython · GitHub
Open Graph Title: Install a static installation description file as part of the Python installation · Issue #107956 · python/cpython
X Title: Install a static installation description file as part of the Python installation · Issue #107956 · python/cpython
Description: Feature or enhancement Ship a static file that describes various aspects of the installation as part of the Python installation. UPDATE: Proposed as PEP 739, which has been accepted. Pitch Shipping such a file would make it much easier t...
Open Graph Description: Feature or enhancement Ship a static file that describes various aspects of the installation as part of the Python installation. UPDATE: Proposed as PEP 739, which has been accepted. Pitch Shipping...
X Description: Feature or enhancement Ship a static file that describes various aspects of the installation as part of the Python installation. UPDATE: Proposed as PEP 739, which has been accepted. Pitch Shipping...
Opengraph URL: https://github.com/python/cpython/issues/107956
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Install a static installation description file as part of the Python installation","articleBody":"\u003c!--\n Proposing a new feature for Python?\n You'll need to demonstrate widespread support for your idea among the community.\n\n Major feature proposals should generally be discussed at\n https://discuss.python.org/c/ideas/6 before opening a GitHub issue.\n Wait until it's clear that most people support your idea\n before filling in this form.\n--\u003e\n\n# Feature or enhancement\n\nShip a static file that describes various aspects of the installation as part of the Python installation.\n\n**UPDATE**: Proposed as [PEP 739](https://peps.python.org/pep-0739/), which has been accepted.\n\n\n# Pitch\n\nShipping such a file would make it much easier to introspect a Python installation without having to run the interpreter. There are many use-cases for this, but some key would be for eg. Python launchers, and cross-compilation tooling.\n\nInformation we could provide:\n- Python language version\n- Python implementation (inc. version)\n- Interpreter path\n- Standard library path\n- Interpreter architecture\n- Python ABI\n - Tag ([PEP 3149](https://peps.python.org/pep-3149) on Posix)\n - Build flags (debug, trace refs)\n- Static `libpython` (available?)\n - Name\n - Location\n- Shared `libpython` (available?)\n - Name (standard library)\n - Major-only pin library name (eg. `libpython3.so`)\n - Location\n- C API \n - Hex version\n - Include paths\n - Required C flags\n- Supported native module file extensions\n - Interpreter-specific\n - Stable ABI\n\n(incomplete table, just an initial proposal)\n\nNote: This issue specifically targets a descriptor file for the Python **installation**, not a Python **environment**, so paths are out of scope.\n\n\n# Previous discussion\n\nhttps://discuss.python.org/t/what-information-is-useful-to-know-statically-about-an-interpreter/25563.\n\n(cc @brettcannon)\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-108483\n* gh-130069\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/FFY00","@type":"Person","name":"FFY00"},"datePublished":"2023-08-14T23:30:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":25},"url":"https://github.com/107956/cpython/issues/107956"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d53a6679-a568-f008-65df-a6ce8b893820 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EB42:30E6E5:1C52AAD:26B8E90:696ABD78 |
| html-safe-nonce | d4b62ba72acc67209b0d385f9bdee4f019f0b3b33c0569a1d95fd53c1b6a4230 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQjQyOjMwRTZFNToxQzUyQUFEOjI2QjhFOTA6Njk2QUJENzgiLCJ2aXNpdG9yX2lkIjoiODc5NzQ4MzgzMzE3MTI5NTYwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | dc89e39aed8ff823d7ed87e357eec70bc9d458ed8ddcdc505a59d18781b4776e |
| hovercard-subject-tag | issue:1850702492 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/107956/issue_layout |
| twitter:image | https://opengraph.githubassets.com/db4a0e57fa742678abe99cbaeae23fc7dffe0de21785b7853c412158a6d86cc1/python/cpython/issues/107956 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/db4a0e57fa742678abe99cbaeae23fc7dffe0de21785b7853c412158a6d86cc1/python/cpython/issues/107956 |
| og:image:alt | Feature or enhancement Ship a static file that describes various aspects of the installation as part of the Python installation. UPDATE: Proposed as PEP 739, which has been accepted. Pitch Shipping... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | FFY00 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 46ce962e0e18113ea447391b6ace8b02d4d2861e57b4fbab3658698f73d8855b |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 30300f30bb3949de255e84a146706a3bdb5c19c9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width