-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow detecting Dev Drive on Windows #104803
Labels
Comments
zooba
added a commit
to zooba/cpython
that referenced
this issue
May 23, 2023
…ath is on a Windows Dev Drive
zooba
added a commit
to zooba/cpython
that referenced
this issue
May 23, 2023
…ath is on a Windows Dev Drive
This was referenced May 26, 2023
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
May 29, 2023
…ath is on a Windows Dev Drive (pythonGH-104805) (cherry picked from commit bfd20d2) Co-authored-by: Steve Dower <steve.dower@python.org>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Windows just announced a new Dev Drive feature, optimised for high I/O scenarios such as build and test. It also works as a very clear signal that the user is a developer and is doing developer-like tasks.
We should add a function to allow querying whether a specific path is on a Dev Drive. The API is relatively low level, and cannot currently be used from Python, but would allow Python apps to detect when the user is operating on a Dev Drive (e.g. installing or compiling something on one), or choose or offer a more performant temporary or cache location than the user directory.
(For a variety of mostly compatibility reasons, there's no way for Windows to redirect
%TEMP%
onto a Dev Drive, but apps that are aware of it can do it for themselves.)Linked PRs
The text was updated successfully, but these errors were encountered: