Title: gh-105540: Improve relative paths in `generate_cases.py` by sobolevn · Pull Request #106942 · python/cpython · GitHub
Open Graph Title: gh-105540: Improve relative paths in `generate_cases.py` by sobolevn · Pull Request #106942 · python/cpython
X Title: gh-105540: Improve relative paths in `generate_cases.py` by sobolevn · Pull Request #106942 · python/cpython
Description: In the original code before c413207#diff-65feee563fa44b472b07751184c6f557699f84b3c2ef79174bfd5d538d748272 there were three places where we had os.path.relpath calls. I've changed them to be just prettify_filename calls. Now I am adding os.path.relpath back to all these three places by including it in prettify_filename. Plus, changing a comment that is a bit misleading. Issue: gh-105540
Open Graph Description: In the original code before c413207#diff-65feee563fa44b472b07751184c6f557699f84b3c2ef79174bfd5d538d748272 there were three places where we had os.path.relpath calls. I've changed them to be jus...
X Description: In the original code before c413207#diff-65feee563fa44b472b07751184c6f557699f84b3c2ef79174bfd5d538d748272 there were three places where we had os.path.relpath calls. I've changed them to be...
Opengraph URL: https://github.com/python/cpython/pull/106942
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:4fa1bfe4-4eca-0ad0-30db-ee817ccd14e9 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | AECA:1E1D6F:193B6FD:229F6BB:696AAEE4 |
| html-safe-nonce | e4a8de6f6f1cd541b46253435f20f74d912d17d56613c47a759cb7b4a290b2ae |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRUNBOjFFMUQ2RjoxOTNCNkZEOjIyOUY2QkI6Njk2QUFFRTQiLCJ2aXNpdG9yX2lkIjoiNjE4MDI3OTAyNTI1OTk0OTc5NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a291828e34fc3484d8e13cfb68743671a569773864be5d1b0ca68343a1fbb159 |
| hovercard-subject-tag | pull_request:1443954516 |
| 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/106942/files |
| twitter:image | https://avatars.githubusercontent.com/u/4660275?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/4660275?s=400&v=4 |
| og:image:alt | In the original code before c413207#diff-65feee563fa44b472b07751184c6f557699f84b3c2ef79174bfd5d538d748272 there were three places where we had os.path.relpath calls. I've changed them to be jus... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4fa1799b6a53c2d30c950d74230781bef9e7f61138c72c7727e4b83f0743752b |
| 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 |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 41f276818bd204c4a30a0281fb3c576298d9474c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width