# 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_ <!-- gh-linked-prs --> ### Linked PRs * gh-117115 * gh-117249 * gh-117756 <!-- /gh-linked-prs -->
Activity
[-]Same interface for `posixpath` & `ntpath`[/-][+]Add `isdevdrive` to `posixpath`[/+]gh-117114: Make os.path.isdevdrive available on all platforms (GH-117115
[3.12] pythongh-117114: Add `isdevdrive` to `posixpath`
Squashed commit of the following:
Squashed commit of the following:
[3.12] gh-117114: Update os.path function availability and link to ge…
pythongh-117114: Make os.path.isdevdrive available on all platforms (p…