Skip to content

Add support for Mach-O linkage detection in Lib/platform.py #114490

Closed
@aidenfoxivey

Description

@aidenfoxivey

Feature or enhancement

Proposal:

Proposed behaviour on MacOS.

>>> import platform
>>> platform.architecture()
('64bit', 'Mach-O')

Current behaviour as tested with Python 3.11.7 on 24.05.20240115.e062961+darwin4.44a6ec1.

>>> import platform
>>> platform.architecture()
('64bit', '')

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions