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: gh-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: gh-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: gh-117841
Opengraph URL: https://github.com/python/cpython/pull/117858
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:84c6633b-e40a-d03d-45b4-b8fde75ab8c0 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9B14:9DE01:4D015A:688A2D:6969D3AD |
| html-safe-nonce | c1eb8b331b7e2b81bc58ceedd3d9e5d1b741f30297a12ce770625711db9a8b9d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QjE0OjlERTAxOjREMDE1QTo2ODhBMkQ6Njk2OUQzQUQiLCJ2aXNpdG9yX2lkIjoiODc4Nzc4MzcwOTY2Mjc2MTkwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 82a7b4ad179fbe9657c8b5dc917b6d9783f8047408814e4a985774ea83fa8d45 |
| 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/python/cpython/pull/117858/files |
| twitter:image | https://avatars.githubusercontent.com/u/960340?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/960340?s=400&v=4 |
| 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: gh-117841 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | acedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 83c08c21cdda978090dc44364b71aa5bc6dcea79 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width