Title: GH-65238: Add test cases for trailing slash handling in pathlib by barneygale · Pull Request #113248 · python/cpython · GitHub
Open Graph Title: GH-65238: Add test cases for trailing slash handling in pathlib by barneygale · Pull Request #113248 · python/cpython
X Title: GH-65238: Add test cases for trailing slash handling in pathlib by barneygale · Pull Request #113248 · python/cpython
Description: Ensure that trailing slashes are ignored whenever pathlib splits a basename from a dirname. This commit adds test cases for parent, parents, name, stem, suffix, suffixes, with_name(), with_stem(), ...
Open Graph Description: Ensure that trailing slashes are ignored whenever pathlib splits a basename from a dirname. This commit adds test cases for parent, parents, name, stem, suffix, suffixes, with_name(), with_stem(), ...
X Description: Ensure that trailing slashes are ignored whenever pathlib splits a basename from a dirname. This commit adds test cases for parent, parents, name, stem, suffix, suffixes, with_name(), with_stem(), ...
Opengraph URL: https://github.com/python/cpython/pull/113248
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:2cac36c5-4b66-d726-8b76-b01d34a80d8a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DD6E:26A866:1BAA8B6:26F6473:696A54F6 |
| html-safe-nonce | abed0d22391d6336fe3aa5ac5fa691c06903089cdd6b11be4feaf231745eaf8d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDZFOjI2QTg2NjoxQkFBOEI2OjI2RjY0NzM6Njk2QTU0RjYiLCJ2aXNpdG9yX2lkIjoiMzM5NTA0ODc3NDUzNzIwNDk4MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 86e8b8455ffb8e1f763a78031d29cd7c823347da210f3000a2b41a794f43651b |
| hovercard-subject-tag | pull_request:1648017873 |
| 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/113248/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/02d3b09f0dc27a48e20457209ab2f32f8c554d05e6050eb0813556eb5bec8b7e/python/cpython/pull/113248 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/02d3b09f0dc27a48e20457209ab2f32f8c554d05e6050eb0813556eb5bec8b7e/python/cpython/pull/113248 |
| og:image:alt | Ensure that trailing slashes are ignored whenever pathlib splits a basename from a dirname. This commit adds test cases for parent, parents, name, stem, suffix, suffixes, with_name(), with_stem(), ... |
| 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 | 3f871c8e07f0ae1886fa8dac284166d28b09ad5bada6476fc10b674e489788ef |
| 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 | 63c426b30d262aba269ef14c40e3c817b384cd61 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width