Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Builtin function for ntpath.lexists #117841

Closed
nineteendo opened this issue Apr 13, 2024 · 1 comment
Closed

Builtin function for ntpath.lexists #117841

nineteendo opened this issue Apr 13, 2024 · 1 comment
Labels
type-feature A feature request or enhancement

Comments

@nineteendo
Copy link
Contributor

nineteendo commented Apr 13, 2024

Feature or enhancement

Proposal:

The lexists() implementation in genericpath use os.stat(). This is overkill on Windows. We should use a simpler builtin function. This can also benefit pathlib.Path.glob().

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:

Linked PRs

@nineteendo
Copy link
Contributor Author

Tracking further in #118507

@nineteendo nineteendo closed this as not planned Won't fix, can't repro, duplicate, stale May 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

1 participant