Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sysconfig.get_platform(): specify result for Windows ARM64 #128696

Closed
ncoghlan opened this issue Jan 10, 2025 · 2 comments
Closed

sysconfig.get_platform(): specify result for Windows ARM64 #128696

ncoghlan opened this issue Jan 10, 2025 · 2 comments
Labels
3.12 bugs and security fixes 3.13 bugs and security fixes 3.14 new features, bugs and security fixes docs Documentation in the Doc dir

Comments

@ncoghlan
Copy link
Contributor

ncoghlan commented Jan 10, 2025

https://docs.python.org/3/library/sysconfig.html#sysconfig.get_platform currently says for Windows:

Windows will return one of:

  • win-amd64 (64bit Windows on AMD64, aka x86_64, Intel64, and EM64T)
  • win32 (all others - specifically, sys.platform is returned)

Since #77306 was implemented, ARM64 is a possibility on Windows as well, so the expected platform identifier should be listed in the docs.

Linked PRs

@ncoghlan ncoghlan added the docs Documentation in the Doc dir label Jan 10, 2025
@rruuaanng
Copy link
Contributor

If you don't mind, I'll add it today :)

@ncoghlan ncoghlan added 3.12 bugs and security fixes 3.13 bugs and security fixes 3.14 new features, bugs and security fixes labels Jan 13, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Jan 13, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Jan 13, 2025
Yhg1s pushed a commit that referenced this issue Feb 3, 2025
GH-128701) (#128773)

gh-128696: Add arm64 to the get_platform return val description (GH-128701)
(cherry picked from commit 553cdc6)

Co-authored-by: RUANG (James Roy) <[email protected]>
Yhg1s pushed a commit that referenced this issue Feb 3, 2025
GH-128701) (#128774)

gh-128696: Add arm64 to the get_platform return val description (GH-128701)
(cherry picked from commit 553cdc6)

Co-authored-by: RUANG (James Roy) <[email protected]>
@hugovk
Copy link
Member

hugovk commented Feb 5, 2025

Triage: PR merged and backported. Please re-open if there's more to do.

@hugovk hugovk closed this as completed Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.12 bugs and security fixes 3.13 bugs and security fixes 3.14 new features, bugs and security fixes docs Documentation in the Doc dir
Projects
Status: Todo
Development

No branches or pull requests

3 participants