Title: Improve performance of ntpath.isdir/isfile/exists/islink · Issue #102765 · python/cpython · GitHub
Open Graph Title: Improve performance of ntpath.isdir/isfile/exists/islink · Issue #102765 · python/cpython
X Title: Improve performance of ntpath.isdir/isfile/exists/islink · Issue #102765 · python/cpython
Description: 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 gh-103485
Open Graph Description: 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 gh-103485
X Description: 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 gh-103485
Opengraph URL: https://github.com/python/cpython/issues/102765
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Improve performance of ntpath.isdir/isfile/exists/islink","articleBody":"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.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-103485\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/zooba","@type":"Person","name":"zooba"},"datePublished":"2023-03-16T19:43:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":22},"url":"https://github.com/102765/cpython/issues/102765"}
| 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:33f1cd1a-627f-de5d-2dec-23e2d1fb4cc2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 856E:1E165C:101D93D:1597A67:696991B2 |
| html-safe-nonce | 57ad93dde46f600893b67883a9b768275917409f96e7e3b9ad8f40675ea4a284 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTZFOjFFMTY1QzoxMDFEOTNEOjE1OTdBNjc6Njk2OTkxQjIiLCJ2aXNpdG9yX2lkIjoiMjY3ODQ1MDA3MjY1ODIxOTQ0MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 4411f70d38bc020b28d58959748a9c5ed20e9330f8d0b60c2402d6f7963c3dab |
| hovercard-subject-tag | issue:1628153973 |
| 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/102765/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4c5b2a9dafdd3647a8da1f481a42f172a4ef67a63847442c3ef95e4187f52260/python/cpython/issues/102765 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4c5b2a9dafdd3647a8da1f481a42f172a4ef67a63847442c3ef95e4187f52260/python/cpython/issues/102765 |
| og:image:alt | 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 gh-103485 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | zooba |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3542e147982176a7ebaa23dfb559c8af16f721c03ec560c68c56b64a0f35e751 |
| 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 | af80af7cc9e3de9c336f18b208a600950a3c187c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width