Skip to content
New issue

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

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

Already on GitHub? # to your account

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

Open
ncoghlan opened this issue Jan 10, 2025 · 1 comment
Open

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

ncoghlan opened this issue Jan 10, 2025 · 1 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

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
…pythonGH-128701)

(cherry picked from commit 553cdc6)

Co-authored-by: RUANG (James Roy) <longjinyii@outlook.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Jan 13, 2025
…pythonGH-128701)

(cherry picked from commit 553cdc6)

Co-authored-by: RUANG (James Roy) <longjinyii@outlook.com>
# for free to join this conversation on GitHub. Already have an account? # 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

2 participants