GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Allow detecting Dev Drive on Windows · Issue #104803 · python/cpython

Allow detecting Dev Drive on Windows #104803

New issue
Copy link
New issue
Copy link
Closed
Closed
Allow detecting Dev Drive on Windows#104803
Copy link
Assignees
zooba
Labels
OS-windows

Description

@zooba
zooba
opened on May 23, 2023
Issue body actions

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

  • gh-104803: Implement ntpath.isdevdrive for checking whether a path is on a Windows Dev Drive #104805
  • [3.12] gh-104803: Implement ntpath.isdevdrive for checking whether a path is on a Windows Dev Drive (GH-104805) #105054

Activity

  1. zooba
    added
    OS-windows
    on May 23, 2023
  2. zooba
    self-assigned this
    on May 23, 2023
  3. zooba
    added 3 commits that reference this issue on May 23, 2023

    pythongh-104803: Implement ntpath.isdevdrive for checking whether a p…

    54edd65

    pythongh-104803: Implement ntpath.isdevdrive for checking whether a p…

    aaa4475

    gh-104803: Implement ntpath.isdevdrive for checking whether a path is…

    bfd20d2
  4. miss-islington
    added a commit that references this issue on May 29, 2023

    pythongh-104803: Implement ntpath.isdevdrive for checking whether a p…

    f800978
  5. zooba
    added a commit that references this issue on May 29, 2023

    gh-104803: Implement ntpath.isdevdrive for checking whether a path is…

    635ce29
  6. zooba
    closed this as completedon May 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @zooba
    zooba

Labels

OS-windows

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.