Title: extend `sys` module on windows · Issue #102536 · python/cpython · GitHub
Open Graph Title: extend `sys` module on windows · Issue #102536 · python/cpython
X Title: extend `sys` module on windows · Issue #102536 · python/cpython
Description: It would be useful to be able to detect: the platform as 32-bit vs 64-bit vs ARM64. the windows api partition multiple partitions can be true at the same time, so this should probably be a named tuple @zooba you mentioned adding them to ...
Open Graph Description: It would be useful to be able to detect: the platform as 32-bit vs 64-bit vs ARM64. the windows api partition multiple partitions can be true at the same time, so this should probably be a named tu...
X Description: It would be useful to be able to detect: the platform as 32-bit vs 64-bit vs ARM64. the windows api partition multiple partitions can be true at the same time, so this should probably be a named tu...
Opengraph URL: https://github.com/python/cpython/issues/102536
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"extend `sys` module on windows","articleBody":"It would be useful to be able to detect:\r\n1) the platform as 32-bit vs 64-bit vs ARM64. \r\n2) the windows api partition\r\n - multiple partitions can be true at the same time, so this should probably be a named tuple\r\n\r\n@zooba you mentioned adding them to `sys.implementation`. Since they are only available on windows, I assume this would mean adding them with an underscore prefix? The alternative would be a separate API similar to `sys.winver`.\r\n\r\nThis is a follow up to #102256.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-124582\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/maxbachmann","@type":"Person","name":"maxbachmann"},"datePublished":"2023-03-08T17:14:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":31},"url":"https://github.com/102536/cpython/issues/102536"}
| 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:cefc4c49-8741-e622-e790-60028ca3889d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BFCC:1A425C:B36695:EB8D08:696B5B19 |
| html-safe-nonce | e13f4a1b02a7f8651978c214a8a62f6ac91512d7dc7fd640e4a483dcd137aada |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRkNDOjFBNDI1QzpCMzY2OTU6RUI4RDA4OjY5NkI1QjE5IiwidmlzaXRvcl9pZCI6IjM4MTM3MjgxOTA5MTU2MzE4OTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 0f2cb5ca6f2c393bb95656c8ebe72c4379de2b24a293b6c64c91f5e3035b388a |
| hovercard-subject-tag | issue:1615625078 |
| 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/102536/issue_layout |
| twitter:image | https://opengraph.githubassets.com/24ca0bb496affd7d5b3eb2d22c759d9259ba60572296957f39d482c8bdae04dc/python/cpython/issues/102536 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/24ca0bb496affd7d5b3eb2d22c759d9259ba60572296957f39d482c8bdae04dc/python/cpython/issues/102536 |
| og:image:alt | It would be useful to be able to detect: the platform as 32-bit vs 64-bit vs ARM64. the windows api partition multiple partitions can be true at the same time, so this should probably be a named tu... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | maxbachmann |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width