]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-114490: Add check for Mach-O linkage in Lib/platform.py (#114491)
authorAiden Fox Ivey <aiden@fox-ivey.com>
Fri, 26 Jan 2024 20:36:50 +0000 (15:36 -0500)
committerGitHub <noreply@github.com>
Fri, 26 Jan 2024 20:36:50 +0000 (21:36 +0100)
commitb5c7c84673b96bfdd7c877521a970f7a4beafece
tree828c466dfdbb7701b525247ab415b86c5cb9cd83
parent07236f5b39a2e534cf190cd4f7c73300d209520b
gh-114490: Add check for Mach-O linkage in Lib/platform.py (#114491)

``platform.architecture()`` now returns the format of binaries (e.g. Mach-O) instead of the default empty string.

Co-authored-by: AN Long <aisk@users.noreply.github.com>
Lib/platform.py
Misc/NEWS.d/next/macOS/2024-01-23-11-35-26.gh-issue-114490.FrQOQ0.rst [new file with mode: 0644]