Uh oh!
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
os.listvolumes() interface should be only available on Windows Desktop (MS_WINDOWS_DESKTOP) and not in UWP (MS_WINDOWS_APP) #153091
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