Skip to content

Add isdevdrive to posixpath #117114

Description

@nineteendo

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

Activity

  1. changed the title [-]Same interface for `posixpath` & `ntpath`[/-] [+]Add `isdevdrive` to `posixpath`[/+] on Mar 22, 2024
  2. added a commit that references this issue on Mar 25, 2024
  3. added a commit that references this issue on Mar 26, 2024
  4. added a commit that references this issue on Apr 15, 2024
  5. added a commit that references this issue on Apr 17, 2024
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 enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions