Title: bpo-38353: Add subfunctions to getpath.c by vstinner · Pull Request #16572 · python/cpython · GitHub
Open Graph Title: bpo-38353: Add subfunctions to getpath.c by vstinner · Pull Request #16572 · python/cpython
X Title: bpo-38353: Add subfunctions to getpath.c by vstinner · Pull Request #16572 · python/cpython
Description: Following symbolic links is now limited to 40 attempts, just to prevent loops. Add subfunctions: Add resolve_symlinks() Add calculate_argv0_path_framework() Add calculate_which() Add calculate_program_macos() Fix also _Py_wreadlink(): readlink() result type is Py_ssize_t, not int. https://bugs.python.org/issue38353
Open Graph Description: Following symbolic links is now limited to 40 attempts, just to prevent loops. Add subfunctions: Add resolve_symlinks() Add calculate_argv0_path_framework() Add calculate_which() Add calculate_pro...
X Description: Following symbolic links is now limited to 40 attempts, just to prevent loops. Add subfunctions: Add resolve_symlinks() Add calculate_argv0_path_framework() Add calculate_which() Add calculate_pro...
Opengraph URL: https://github.com/python/cpython/pull/16572
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:08f5dfd6-bcb8-267e-403f-a6d2e1189e7f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 92F0:372616:170664E:219B813:6A563482 |
| html-safe-nonce | 0ed91c6458e5be2ebb96cd5cd1f1bd10c4ddd1f6e186e9a9c89eb0b88abe6f03 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MkYwOjM3MjYxNjoxNzA2NjRFOjIxOUI4MTM6NkE1NjM0ODIiLCJ2aXNpdG9yX2lkIjoiMzcwNDUxNzIxODUyMjI0ODMyMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3472b1eb72888bfc5a89837c2a5d4bf6ea0c683b5d658a10bd1627f8570304d6 |
| hovercard-subject-tag | pull_request:324446560 |
| 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/16572/files |
| twitter:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| og:image:alt | Following symbolic links is now limited to 40 attempts, just to prevent loops. Add subfunctions: Add resolve_symlinks() Add calculate_argv0_path_framework() Add calculate_which() Add calculate_pro... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9d78ea552aac0685ca5f006d44f88166cbbf3bb96843f8da0c5a2c0b9908430b |
| 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 | 423b2fb76ac2b90de5ab599b7a76a0d2b2c83f24 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width