Title: Builtin function for `ntpath.lexists` · Issue #117841 · python/cpython · GitHub
Open Graph Title: Builtin function for `ntpath.lexists` · Issue #117841 · python/cpython
X Title: Builtin function for `ntpath.lexists` · Issue #117841 · python/cpython
Description: 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...
Open Graph Description: 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...
X Description: 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...
Opengraph URL: https://github.com/python/cpython/issues/117841
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Builtin function for `ntpath.lexists`","articleBody":"# Feature or enhancement\r\n\r\n### Proposal:\r\n\r\nThe `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()`.\r\n\r\n### Has this already been discussed elsewhere?\r\n\r\nThis is a minor feature, which does not need previous discussion elsewhere\r\n\r\n### Links to previous discussion of this feature:\r\n\r\n- #117729\r\n\r\n\u003c!-- gh-linked-prs --\u003e\r\n### Linked PRs\r\n* gh-117842\r\n* gh-117858\r\n\u003c!-- /gh-linked-prs --\u003e\r\n","author":{"url":"https://github.com/nineteendo","@type":"Person","name":"nineteendo"},"datePublished":"2024-04-13T10:38:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/117841/cpython/issues/117841"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4c5a6e22-66ed-50b1-27d8-0fc5c870fccd |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 93E4:1F9980:1941755:21D1F18:6969AC9D |
| html-safe-nonce | 3c9dc8551d43e761f76af5a2f96ee502850bef1067f9447217c08f2f15774720 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5M0U0OjFGOTk4MDoxOTQxNzU1OjIxRDFGMTg6Njk2OUFDOUQiLCJ2aXNpdG9yX2lkIjoiNTMzNTAzMzcxNzcxOTY3NDAxMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 6d6dcfb1bca47081f910dfcaab22c30cdb4395a7ff0d9a1e71142f1792a6d09f |
| hovercard-subject-tag | issue:2241499372 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/117841/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b2b791498d617272ab4178faf9e0e2ef0370315675bbb5f459f2a831c1a5b411/python/cpython/issues/117841 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b2b791498d617272ab4178faf9e0e2ef0370315675bbb5f459f2a831c1a5b411/python/cpython/issues/117841 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nineteendo |
| hostname | github.com |
| expected-hostname | github.com |
| None | 24c4c97a2d520cb286b35e1a4c22d7a4df3c26a2fa28dd7cdf0e65db327b4de7 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 124667f43168afb6c9c03b7c02eb5b1d2e1be3d9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width