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
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