Title: GH-117841: Speed up `pathlib.Path.glob()` on Windows by using `lexists()` by barneygale · Pull Request #117858 · python/cpython · GitHub
Open Graph Title: GH-117841: Speed up `pathlib.Path.glob()` on Windows by using `lexists()` by barneygale · Pull Request #117858 · python/cpython
X Title: GH-117841: Speed up `pathlib.Path.glob()` on Windows by using `lexists()` by barneygale · Pull Request #117858 · python/cpython
Description: Use os.path.lexists() rather than os.lstat() to test whether paths exist. This is equivalent on POSIX, but faster on Windows. Depends on #117842 Issue: Builtin function for ntpath.lexists #117841
Open Graph Description: Use os.path.lexists() rather than os.lstat() to test whether paths exist. This is equivalent on POSIX, but faster on Windows. Depends on #117842 Issue: Builtin function for ntpath.lexists #117841
X Description: Use os.path.lexists() rather than os.lstat() to test whether paths exist. This is equivalent on POSIX, but faster on Windows. Depends on #117842 Issue: Builtin function for ntpath.lexists #117841
Opengraph URL: https://github.com/python/cpython/pull/117858
X: @github
Domain: github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:28268992-e2df-2485-6efd-dab1ea51e53f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | C7EE:31E362:B8C625:F77B22:6969973D |
| html-safe-nonce | 191f0def2eebbaa4c75851297760799948b37aee96838da855a43c62165fa672 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDN0VFOjMxRTM2MjpCOEM2MjU6Rjc3QjIyOjY5Njk5NzNEIiwidmlzaXRvcl9pZCI6IjczMTIwMDc0MzQ2NTE0MDgxODkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e4b9cbbbd1e749ac510a864f858cfeb942ca770ae879e930a1cc77f58e1f9cc2 |
| hovercard-subject-tag | pull_request:1821645869 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/voltron/pull_requests/show/python/cpython/117858/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/98a2e367c2a914e99e24c714c53f68d17970bfa6de228b619dfaf4f04722b952/python/cpython/pull/117858 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/98a2e367c2a914e99e24c714c53f68d17970bfa6de228b619dfaf4f04722b952/python/cpython/pull/117858 |
| og:image:alt | Use os.path.lexists() rather than os.lstat() to test whether paths exist. This is equivalent on POSIX, but faster on Windows. Depends on #117842 Issue: Builtin function for ntpath.lexists #117841 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | barneygale |
| 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