Title: [3.6] bpo-30225: Fix is_valid_fd() on macOS Tiger (#1443) by vstinner · Pull Request #1449 · python/cpython · GitHub
Open Graph Title: [3.6] bpo-30225: Fix is_valid_fd() on macOS Tiger (#1443) by vstinner · Pull Request #1449 · python/cpython
X Title: [3.6] bpo-30225: Fix is_valid_fd() on macOS Tiger (#1443) by vstinner · Pull Request #1449 · python/cpython
Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.
Open Graph Description: is_valid_fd() now uses fstat() instead of dup() on macOS to return 0 on a pipe when the other side of the pipe is closed. fstat() fails with EBADF in that case, whereas dup() succeed. (cherry picke...
X Description: is_valid_fd() now uses fstat() instead of dup() on macOS to return 0 on a pipe when the other side of the pipe is closed. fstat() fails with EBADF in that case, whereas dup() succeed. (cherry picke...
Opengraph URL: https://github.com/python/cpython/pull/1449
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:78b6c1e7-84f1-abf4-112e-f0be1170cd35 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | A91A:1162D4:DA6274:14036B4:6A4E2B26 |
| html-safe-nonce | c473f501c4c0ca6947da3824c5cb0e8bc688b714a3d87d8b96eec73bca759875 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTFBOjExNjJENDpEQTYyNzQ6MTQwMzZCNDo2QTRFMkIyNiIsInZpc2l0b3JfaWQiOiIxNjcxODMxMTc4NjkxMDk1MzM0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a3b6d8edf276f3473ae3ba1aa58aecaca24f1bf9425f0b8c5143818d2bd793e4 |
| hovercard-subject-tag | pull_request:118940459 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/1449/checks |
| twitter:image | https://opengraph.githubassets.com/02325dc40e3203f25a8bf84a17fd219a9ff58b1282be6dd94268d4a55aeb47b1/python/cpython/pull/1449 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/02325dc40e3203f25a8bf84a17fd219a9ff58b1282be6dd94268d4a55aeb47b1/python/cpython/pull/1449 |
| og:image:alt | is_valid_fd() now uses fstat() instead of dup() on macOS to return 0 on a pipe when the other side of the pipe is closed. fstat() fails with EBADF in that case, whereas dup() succeed. (cherry picke... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vstinner |
| hostname | github.com |
| expected-hostname | github.com |
| None | 030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0 |
| turbo-cache-control | no-cache |
| 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 | d9dd20d38f8ae3c4cb6b597807431db300d0bd2a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width