Skip to content

os.listvolumes() interface should be only available on Windows Desktop (MS_WINDOWS_DESKTOP) and not in UWP (MS_WINDOWS_APP) #153091

Description

@thexai

Bug report

Bug description:

os.listvolumes() uses Windows API call FindFirstVolumeW and only is available on Windows Desktop:

https://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-findfirstvolumew#requirements

CPython versions tested on:

3.15

Operating systems tested on:

Windows

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions