Title: subprocess: close pipes/fds by using ExitStack by giampaolo · Pull Request #11686 · python/cpython · GitHub
Open Graph Title: subprocess: close pipes/fds by using ExitStack by giampaolo · Pull Request #11686 · python/cpython
X Title: subprocess: close pipes/fds by using ExitStack by giampaolo · Pull Request #11686 · python/cpython
Description: "In case of premature failure on X.Close() or os.close(X) the remaining pipes/fds will remain "open". Perhaps it makes sense to use contextlib.ExitStack." This is a follow up of bpo-35537. Rationale of this change originated during code inspection in #11575 (comment).
Open Graph Description: "In case of premature failure on X.Close() or os.close(X) the remaining pipes/fds will remain "open". Perhaps it makes sense to use contextlib.ExitStack." This is a follow up of...
X Description: "In case of premature failure on X.Close() or os.close(X) the remaining pipes/fds will remain "open". Perhaps it makes sense to use contextlib.ExitStack." This i...
Opengraph URL: https://github.com/python/cpython/pull/11686
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:78992252-0980-e481-562c-e8ae4c6b6f4b |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | AD1E:A7972:1B8DAF2:25FF777:696AAA25 |
| html-safe-nonce | 266881b18a5cd0ce8e853b90600d13e9289341baa210c48fd1515358a58b2a44 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDFFOkE3OTcyOjFCOERBRjI6MjVGRjc3Nzo2OTZBQUEyNSIsInZpc2l0b3JfaWQiOiI4MjU3MzI2NzA4NTQ5MTM0ODg1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | d76e30c8ca7a3a85c295d912eedd02079a2440d8c7ef2d0a84eba6d88a3c86de |
| hovercard-subject-tag | pull_request:247958695 |
| 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/11686/checks |
| twitter:image | https://avatars.githubusercontent.com/u/681260?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/681260?s=400&v=4 |
| og:image:alt | "In case of premature failure on X.Close() or os.close(X) the remaining pipes/fds will remain "open". Perhaps it makes sense to use contextlib.ExitStack." This is a follow up of... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3eaf9b8cf1badcd7041a8ad480b9d9b28bea0ef1cc821ca9ff20f2cc7f4fe4b9 |
| 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 full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | dd9a979046e6382bd084e2bd873bf65f797125ff |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width