Title: [3.5] bpo-30225: Fix is_valid_fd() on macOS Tiger (#1443) by vstinner · Pull Request #1450 · python/cpython · GitHub
Open Graph Title: [3.5] bpo-30225: Fix is_valid_fd() on macOS Tiger (#1443) by vstinner · Pull Request #1450 · python/cpython
X Title: [3.5] bpo-30225: Fix is_valid_fd() on macOS Tiger (#1443) by vstinner · Pull Request #1450 · 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/1450
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:1a78c93f-654c-66a4-22fc-1bff93c87672 |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 8198:CA906:D01E53:12C50D9:6A4E4BD9 |
| html-safe-nonce | 4ec3b2d9fc5ab91e328ff318b5e04b41b4d863f241fde0e23b5847539c28a23f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTk4OkNBOTA2OkQwMUU1MzoxMkM1MEQ5OjZBNEU0QkQ5IiwidmlzaXRvcl9pZCI6IjQ5MjUyMDA4OTQ2MDM5NzE1NDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6c808cbcc6e544b5037e4a637cbb881e8c06f5b93da641abeaf00590ef51e66f |
| hovercard-subject-tag | pull_request:118940643 |
| 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/1450/checks |
| twitter:image | https://opengraph.githubassets.com/f432dfa049603e3fbdb8a3100e0c5ed973e7b5572d580feaecd469b560ef5180/python/cpython/pull/1450 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f432dfa049603e3fbdb8a3100e0c5ed973e7b5572d580feaecd469b560ef5180/python/cpython/pull/1450 |
| 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 | e8506f6d0538364886e3f0153c154c410965e70d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width