Title: gh-129011: Update docs for Raw I/O read, readinto, and write by cmaloney · Pull Request #135328 · python/cpython · GitHub
Open Graph Title: gh-129011: Update docs for Raw I/O read, readinto, and write by cmaloney · Pull Request #135328 · python/cpython
X Title: gh-129011: Update docs for Raw I/O read, readinto, and write by cmaloney · Pull Request #135328 · python/cpython
Description: Update RawIOBase and FileIO documentation to match implementation behavior around .read, .readinto, .readall and .write. They may make more than one system call (PEP-475) Add warnings if .write() requires a wrapping retry loop (see: gh-126606) "Raw I/O" .write may not write all bytes buffering=0 example results in a "Raw I/O" More details around non-blocking behavior see also: gh-80050 / GH-130653 (similar work on Buffered I/O read docs) Issue: gh-129011 📚 Documentation preview 📚: https://cpython-previews--135328.org.readthedocs.build/
Open Graph Description: Update RawIOBase and FileIO documentation to match implementation behavior around .read, .readinto, .readall and .write. They may make more than one system call (PEP-475) Add warnings if .write() ...
X Description: Update RawIOBase and FileIO documentation to match implementation behavior around .read, .readinto, .readall and .write. They may make more than one system call (PEP-475) Add warnings if .write() ...
Opengraph URL: https://github.com/python/cpython/pull/135328
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:9309d414-2d1a-f69a-4ccb-dce109eba0aa |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D8EC:23560F:12F4AEC:19A2D32:6A5343FC |
| html-safe-nonce | 7e4fc95d0fc8b6093b0a24f0f6162858a4d328438e6fd2c7c35e887fdbc710cc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOEVDOjIzNTYwRjoxMkY0QUVDOjE5QTJEMzI6NkE1MzQzRkMiLCJ2aXNpdG9yX2lkIjoiMjI4Mjc3NTIxNDA5NzEyMjMwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d1a4f5cb65ecbc64bdd702b200900817e8ec76848b817bf8e34ebca0cdd67f73 |
| hovercard-subject-tag | pull_request:2580045498 |
| 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/python/cpython/pull/135328/files |
| twitter:image | https://avatars.githubusercontent.com/u/751088?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/751088?s=400&v=4 |
| og:image:alt | Update RawIOBase and FileIO documentation to match implementation behavior around .read, .readinto, .readall and .write. They may make more than one system call (PEP-475) Add warnings if .write() ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width