Skip to content

extend sys module on windows #102536

Open
Open
@maxbachmann

Description

@maxbachmann

It would be useful to be able to detect:

  1. the platform as 32-bit vs 64-bit vs ARM64.
  2. the windows api partition
    • multiple partitions can be true at the same time, so this should probably be a named tuple

@zooba you mentioned adding them to sys.implementation. Since they are only available on windows, I assume this would mean adding them with an underscore prefix? The alternative would be a separate API similar to sys.winver.

This is a follow up to #102256.

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