Title: ``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
Open Graph Title: ``os.listvolumes()`` interface should be only available on Windows Desktop (``MS_WINDOWS_DESKTOP``) and not in UWP (``MS_WINDOWS_APP``) · Issue #153091 · python/cpython
X Title: ``os.listvolumes()`` interface should be only available on Windows Desktop (``MS_WINDOWS_DESKTOP``) and not in UWP (``MS_WINDOWS_APP``) · Issue #153091 · python/cpython
Description: 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 ve...
Open Graph Description: 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-...
X Description: 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-...
Opengraph URL: https://github.com/python/cpython/issues/153091
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"``os.listvolumes()`` interface should be only available on Windows Desktop (``MS_WINDOWS_DESKTOP``) and not in UWP (``MS_WINDOWS_APP``)","articleBody":"# Bug report\n\n### Bug description:\n\n\n``os.listvolumes()`` uses Windows API call `FindFirstVolumeW` and only is available on Windows Desktop:\n\nhttps://learn.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-findfirstvolumew#requirements\n\n\n### CPython versions tested on:\n\n3.15\n\n### Operating systems tested on:\n\nWindows\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-153095\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/thexai","@type":"Person","name":"thexai"},"datePublished":"2026-07-05T10:30:57.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/153091/cpython/issues/153091"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:61117706-ff5a-5a83-9570-c45afff3907b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 80AA:56830:569A4A:73643C:6A517302 |
| html-safe-nonce | 8a9b90f255474f2b8dcabda6e1d27b979769c028be04c9a135ae511295db8245 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MEFBOjU2ODMwOjU2OUE0QTo3MzY0M0M6NkE1MTczMDIiLCJ2aXNpdG9yX2lkIjoiMjY0NDY4OTc4NzE4NTg4NTk1NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1f3821e1d0450295f0ecf453a79ff8560f544c560650a503bdac4f4ecd1088a2 |
| hovercard-subject-tag | issue:4812470820 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/153091/issue_layout |
| twitter:image | https://opengraph.githubassets.com/78faee56c12ec30d7c08f054c9169b87c5bfa80f711e5aeaf2f7039716b8596f/python/cpython/issues/153091 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/78faee56c12ec30d7c08f054c9169b87c5bfa80f711e5aeaf2f7039716b8596f/python/cpython/issues/153091 |
| og:image:alt | 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-... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | thexai |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | b19955a9dd40fd99462443f7911b522d7216776a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width