``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
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug report
Bug description:
os.listvolumes()uses Windows API callFindFirstVolumeWand 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
os.listvolumes()should be only available forMS_WINDOWS_DESKTOP#153095