Title: Make IOBase a context manager by jaroel · Pull Request #649 · RustPython/RustPython · GitHub
Open Graph Title: Make IOBase a context manager by jaroel · Pull Request #649 · RustPython/RustPython
X Title: Make IOBase a context manager by jaroel · Pull Request #649 · RustPython/RustPython
Description: A Python Interpreter written in Rust. Contribute to RustPython/RustPython development by creating an account on GitHub.
Open Graph Description: This allows the following: with open('README.md') as fp: fp.read() This does not close the file, as there's no close method yet. See #547 . Fixes #648
X Description: This allows the following: with open('README.md') as fp: fp.read() This does not close the file, as there's no close method yet. See #547 . Fixes #648
Opengraph URL: https://github.com/RustPython/RustPython/pull/649
X: @github
Domain: github.com
| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:db5516dd-a251-287c-ff1f-e7ca29cc3b86 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CF14:4E072:B319C7:FF8A9D:6A588D9C |
| html-safe-nonce | 7866a7f7a69e602a4a6e154d7476d7d34aac11f7c0adf9cc212f9509951af892 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjE0OjRFMDcyOkIzMTlDNzpGRjhBOUQ6NkE1ODhEOUMiLCJ2aXNpdG9yX2lkIjoiODIxODUyMDk0MDMxMDk5MDIzNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | bded1355ac83cdf89aefdf0657dea63774779bf6a7050ee73ffd16539d69c725 |
| hovercard-subject-tag | pull_request:259729917 |
| 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/_view_fragments/voltron/pull_requests/show/RustPython/RustPython/649/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/4bd7a0d4b2d34d6f8195d5e2a8e3d3ac53769f93bae8e5c103230291a4867195/RustPython/RustPython/pull/649 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4bd7a0d4b2d34d6f8195d5e2a8e3d3ac53769f93bae8e5c103230291a4867195/RustPython/RustPython/pull/649 |
| og:image:alt | This allows the following: with open('README.md') as fp: fp.read() This does not close the file, as there's no close method yet. See #547 . Fixes #648 |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jaroel |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| turbo-cache-control | no-cache |
| go-import | github.com/RustPython/RustPython git https://github.com/RustPython/RustPython.git |
| octolytics-dimension-user_id | 39710557 |
| octolytics-dimension-user_login | RustPython |
| octolytics-dimension-repository_id | 135201145 |
| octolytics-dimension-repository_nwo | RustPython/RustPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 135201145 |
| octolytics-dimension-repository_network_root_nwo | RustPython/RustPython |
| 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 | 8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width