``os.listvolumes()`` interface should be only available on Windows Desktop (``MS_WINDOWS_DESKTOP``) and not in UWP (``MS_WINDOWS_APP``) · Issue #153091 · python/cpython · GitHub
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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions