Visitar URL original
Improve performance of ntpath.isdir/isfile/exists/islink · Issue #102765 · python/cpython · GitHub
The Wayback Machine - https://web.archive.org/web/20250608114354/https://github.com/python/cpython/issues/102765
Skip to content

Improve performance of ntpath.isdir/isfile/exists/islink #102765

Closed
@zooba

Description

@zooba

These functions should use GetFileAttributesW for their fast paths, and the ones that traverse links can fall back to stat if a reparse point is found.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions