https://github.com/python/cpython/commit/e4384d15440ea1b09794a482a2241df2dbc3136d commit: e4384d15440ea1b09794a482a2241df2dbc3136d branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: Yhg1s <[email protected]> date: 2025-02-04T00:29:16+01:00 summary:
[3.12] gh-128696: Add arm64 to the get_platform return val description (GH-128701) (#128773) gh-128696: Add arm64 to the get_platform return val description (GH-128701) (cherry picked from commit 553cdc6d6856c1b4539a45eb90d0769f7c629355) Co-authored-by: RUANG (James Roy) <[email protected]> files: M Doc/library/sysconfig.rst M Lib/sysconfig.py diff --git a/Doc/library/sysconfig.rst b/Doc/library/sysconfig.rst index aaccc0431d7647..9c343e29ff4bef 100644 --- a/Doc/library/sysconfig.rst +++ b/Doc/library/sysconfig.rst @@ -388,7 +388,8 @@ Other functions Windows will return one of: - - win-amd64 (64bit Windows on AMD64, aka x86_64, Intel64, and EM64T) + - win-amd64 (64-bit Windows on AMD64, aka x86_64, Intel64, and EM64T) + - win-arm64 (64-bit Windows on ARM64, aka AArch64) - win32 (all others - specifically, sys.platform is returned) macOS can return: diff --git a/Lib/sysconfig.py b/Lib/sysconfig.py index 517b13acaf6823..7dd63b935543d6 100644 --- a/Lib/sysconfig.py +++ b/Lib/sysconfig.py @@ -765,7 +765,8 @@ def get_platform(): solaris-2.6-sun4u Windows will return one of: - win-amd64 (64bit Windows on AMD64 (aka x86_64, Intel64, EM64T, etc) + win-amd64 (64-bit Windows on AMD64 (aka x86_64, Intel64, EM64T, etc) + win-arm64 (64-bit Windows on ARM64 (aka AArch64) win32 (all others - specifically, sys.platform is returned) For other non-POSIX platforms, currently just returns 'sys.platform'. _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-checkins.python.org/ Member address: [email protected]
