Title: Reduce syscalls for `posixpath.ismount` · Issue #117394 · python/cpython · GitHub
Open Graph Title: Reduce syscalls for `posixpath.ismount` · Issue #117394 · python/cpython
X Title: Reduce syscalls for `posixpath.ismount` · Issue #117394 · python/cpython
Description: Feature or enhancement Proposal: Currently posixpath.ismount uses realpath(join(path, '..')) to get the parent of the mount. This is absolutely overkill and should only be used when join(path, '..') isn't sufficient. Has this already bee...
Open Graph Description: Feature or enhancement Proposal: Currently posixpath.ismount uses realpath(join(path, '..')) to get the parent of the mount. This is absolutely overkill and should only be used when join(path, '..'...
X Description: Feature or enhancement Proposal: Currently posixpath.ismount uses realpath(join(path, '..')) to get the parent of the mount. This is absolutely overkill and should only be used when join(pa...
Opengraph URL: https://github.com/python/cpython/issues/117394
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Reduce syscalls for `posixpath.ismount`","articleBody":"# Feature or enhancement\r\n\r\n### Proposal:\r\n\r\nCurrently `posixpath.ismount` uses `realpath(join(path, '..'))` to get the parent of the mount. This is absolutely overkill and should only be used when `join(path, '..')` isn't sufficient.\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- #117350\r\n\r\n\u003c!-- gh-linked-prs --\u003e\r\n### Linked PRs\r\n* gh-117395\r\n* gh-117447\r\n\u003c!-- /gh-linked-prs --\u003e\r\n","author":{"url":"https://github.com/nineteendo","@type":"Person","name":"nineteendo"},"datePublished":"2024-03-30T19:24:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/117394/cpython/issues/117394"}
| 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:3acd2a8b-b480-2e52-cfd4-ff02378fda81 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8B78:319547:213871C:2B405ED:696B4CF1 |
| html-safe-nonce | ee6dafd2f0fa056395687bf7c8816dd20d1fed6e5ea59604c47a54ee133c5770 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Qjc4OjMxOTU0NzoyMTM4NzFDOjJCNDA1RUQ6Njk2QjRDRjEiLCJ2aXNpdG9yX2lkIjoiODc4MjY3NjA5NTg5OTc0OTYxNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | cc17aeaf3b3b8bfb050717066b5d8cbab8db7c1dba04a24a74de21b4bc7d5d65 |
| hovercard-subject-tag | issue:2216634879 |
| 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/117394/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8d92542e7651f90a0db1d92b69b79926265e3836fca0741086f9f9f966a2a632/python/cpython/issues/117394 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8d92542e7651f90a0db1d92b69b79926265e3836fca0741086f9f9f966a2a632/python/cpython/issues/117394 |
| og:image:alt | Feature or enhancement Proposal: Currently posixpath.ismount uses realpath(join(path, '..')) to get the parent of the mount. This is absolutely overkill and should only be used when join(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 | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width