Title: bpo-38353: Simplify calculate_pybuilddir() by vstinner · Pull Request #16614 · python/cpython · GitHub
Open Graph Title: bpo-38353: Simplify calculate_pybuilddir() by vstinner · Pull Request #16614 · python/cpython
X Title: bpo-38353: Simplify calculate_pybuilddir() by vstinner · Pull Request #16614 · python/cpython
Description: Calling _Py_wfopen() is enough to check if filename is an existing file or not. There is no need to check first isfile(). https://bugs.python.org/issue38353
Open Graph Description: Calling _Py_wfopen() is enough to check if filename is an existing file or not. There is no need to check first isfile(). https://bugs.python.org/issue38353
X Description: Calling _Py_wfopen() is enough to check if filename is an existing file or not. There is no need to check first isfile(). https://bugs.python.org/issue38353
Opengraph URL: https://github.com/python/cpython/pull/16614
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:221256e7-3278-e8ac-8e6c-26e0cdb5b978 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B738:200B2E:BA1E1F:F9CBF8:6A531BE3 |
| html-safe-nonce | 19a93c1b630eec430d6e5fb3a10133af542ddcdc51cfa350358ed1ceab052e0b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzM4OjIwMEIyRTpCQTFFMUY6RjlDQkY4OjZBNTMxQkUzIiwidmlzaXRvcl9pZCI6IjIyMzI5MDI0NTc1ODI4ODU4NTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a4a8a4f73721add242f5237f67ae65d64361941d16a87f9d39d9006a4af0ebe8 |
| hovercard-subject-tag | pull_request:325228365 |
| 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/16614/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 | Calling _Py_wfopen() is enough to check if filename is an existing file or not. There is no need to check first isfile(). https://bugs.python.org/issue38353 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width