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 — Add `isdevdrive` to `posixpath` · Issue #117114 · python/cpython

Add isdevdrive to posixpath #117114

New issue
Copy link
New issue
Copy link
Closed
Closed
Add isdevdrive to posixpath#117114
Copy link
Labels
type-featureA feature request or enhancementA feature request or enhancement

Description

@nineteendo
nineteendo
opened on Mar 21, 2024
Issue body actions

Feature or enhancement

Proposal:

Four changes:

  1. Add link to genericpath.py & remove redundant availability in the documentation for os.path
  2. Deduplicate lexists & fallback isjunction implementations by defining them in genericpath.
  3. Move fallback ntpath.isdevdrive to genericpath to provide the same interface for posixpath & ntpath.
  4. Add isdevdrive to ntpath.__all__.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

  • gh-117114: Add isdevdrive to posixpath #117115
  • [3.12] gh-117114: Add isdevdrive to posixpath (GH-117115) #117249
  • [3.12] gh-117114: Update availability and source code link in os.path.rst #117756

Activity

  1. nineteendo
    added
    type-featureA feature request or enhancementA feature request or enhancement
    on Mar 21, 2024
  2. nineteendo
    changed the title [-]Same interface for `posixpath` & `ntpath`[/-] [+]Add `isdevdrive` to `posixpath`[/+] on Mar 22, 2024
  3. zooba
    added a commit that references this issue on Mar 25, 2024

    gh-117114: Make os.path.isdevdrive available on all platforms (GH-117115

    0821923
  4. zooba
    closed this as completedon Mar 25, 2024
  5. nineteendo
    added a commit that references this issue on Mar 26, 2024

    [3.12] pythongh-117114: Add `isdevdrive` to `posixpath`

    b679bcf
  6. NGRsoftlab
    added 2 commits that reference this issue on Apr 2, 2024

    Squashed commit of the following:

    1b5fe4c

    Squashed commit of the following:

    a016a54
  7. zooba
    added a commit that references this issue on Apr 15, 2024

    [3.12] gh-117114: Update os.path function availability and link to ge…

    2dcb267
  8. diegorusso
    added a commit that references this issue on Apr 17, 2024

    pythongh-117114: Make os.path.isdevdrive available on all platforms (p…

    aa50491
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-featureA feature request or enhancementA feature request or enhancement

    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.