Title: Add more details about the Python build in sys.version · Issue #100086 · python/cpython · GitHub
Open Graph Title: Add more details about the Python build in sys.version · Issue #100086 · python/cpython
X Title: Add more details about the Python build in sys.version · Issue #100086 · python/cpython
Description: Currently, it's not easy to guess how Python was built just by looking at python -VV output or sys.version. I propose to enhance sys.version to include more details about how Python was configured for the build: debug or release build "s...
Open Graph Description: Currently, it's not easy to guess how Python was built just by looking at python -VV output or sys.version. I propose to enhance sys.version to include more details about how Python was configured ...
X Description: Currently, it's not easy to guess how Python was built just by looking at python -VV output or sys.version. I propose to enhance sys.version to include more details about how Python was configu...
Opengraph URL: https://github.com/python/cpython/issues/100086
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add more details about the Python build in sys.version","articleBody":"Currently, it's not easy to guess how Python was built just by looking at ``python -VV`` output or ``sys.version``.\r\n\r\nI propose to enhance ``sys.version`` to include more details about how Python was configured for the build:\r\n\r\n* debug or release build\r\n* \"shared\" or \"framework\" build\r\n* assertions enabled or not\r\n* address/memory/undefined behavior sanitizer\r\n* etc.\r\n\r\nIt should help me to more quickly identify if a buildbot was built in debug mode or release mode.\r\n\r\nIt should help to see how Python was optimized: with or without LTO and PGO optimizations?\r\n\r\nIt should help to quickly have an idea of which ABI is used: the \"pystats\" ABI is different than the \"debug\" than the \"release\" ABI.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-100087\n* gh-100093\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/vstinner","@type":"Person","name":"vstinner"},"datePublished":"2022-12-07T17:30:50.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/100086/cpython/issues/100086"}
| 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:ae21582f-85e2-34cf-d51e-08caa7f4e114 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B21E:85EE6:6E1C63:99D39F:696A124C |
| html-safe-nonce | 5421fbe83746b287d85fb24f26aefefa11983f55ec26e74a2279935ea12548e2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjFFOjg1RUU2OjZFMUM2Mzo5OUQzOUY6Njk2QTEyNEMiLCJ2aXNpdG9yX2lkIjoiMjk5MTg4NjA5MTQ1MTc2NTMyNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2bf73493d63032f70080f8c7765c7ff138abe399584a389344862b5c4c28a142 |
| hovercard-subject-tag | issue:1482449655 |
| 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/100086/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b00b93552f72255afb1e1c811bb0639ab29fe5ea31c6f996caf22678c498716e/python/cpython/issues/100086 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b00b93552f72255afb1e1c811bb0639ab29fe5ea31c6f996caf22678c498716e/python/cpython/issues/100086 |
| og:image:alt | Currently, it's not easy to guess how Python was built just by looking at python -VV output or sys.version. I propose to enhance sys.version to include more details about how Python was configured ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vstinner |
| hostname | github.com |
| expected-hostname | github.com |
| None | 699227a00bbb7fe1eec276d2ae1c3a93068bc5ba483bd9dc4b2a27a8f4f2f595 |
| 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 | 7266b2d935baa1c6474b16dd9feaa5ca30607261 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width