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 | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:0b68bf95-eac2-42f9-e061-6a5e07fef9fa |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | 9144:29B0B8:2270D35:31BA894:6A58E8C0 |
| html-safe-nonce | ce6890c4245e69721201addc8c607dc95a0f7909d79d9e5bc529cf3ddf7c8ecd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MTQ0OjI5QjBCODoyMjcwRDM1OjMxQkE4OTQ6NkE1OEU4QzAiLCJ2aXNpdG9yX2lkIjoiNjU5ODMwNjM2MjUzOTE3NDA4MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f37d446db05738ee94cb1ebb0a16737d10dc1acf4015206c34b515779ec925f4 |
| hovercard-subject-tag | pull_request:259729917 |
| 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/RustPython/RustPython/pull/649/checks |
| 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