Title: [3.14] gh-129011: Update docs for Raw I/O read, readinto, and write (GH-135328) by miss-islington · Pull Request #150958 · python/cpython · GitHub
Open Graph Title: [3.14] gh-129011: Update docs for Raw I/O read, readinto, and write (GH-135328) by miss-islington · Pull Request #150958 · python/cpython
X Title: [3.14] gh-129011: Update docs for Raw I/O read, readinto, and write (GH-135328) by miss-islington · Pull Request #150958 · python/cpython
Description: Update RawIOBase and FileIO documentation to match implementation behavior around .read, .readinto, .readall and .write. In particular: 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" (cherry picked from commit e4db68b) Co-authored-by: Cody Maloney cmaloney@users.noreply.github.com Co-authored-by: Serhiy Storchaka storchaka@gmail.com Co-authored-by: Victor Stinner vstinner@python.org Issue: gh-129011
Open Graph Description: Update RawIOBase and FileIO documentation to match implementation behavior around .read, .readinto, .readall and .write. In particular: They may make more than one system call (PEP-475) Add warnin...
X Description: Update RawIOBase and FileIO documentation to match implementation behavior around .read, .readinto, .readall and .write. In particular: They may make more than one system call (PEP-475) Add warnin...
Opengraph URL: https://github.com/python/cpython/pull/150958
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:666325f1-9c6f-91a4-39bc-0445ec4debd2 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 809C:10FEF0:1AD2475:23AC96F:6A52C5FF |
| html-safe-nonce | c6a08a8be3a860f7661d91ede8e1b2efb9cf0600a7fb49391b750036e09ce7cc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MDlDOjEwRkVGMDoxQUQyNDc1OjIzQUM5NkY6NkE1MkM1RkYiLCJ2aXNpdG9yX2lkIjoiNjk3NzQ1NjMxMjk2ODk4ODE1OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5efebb2178c37f2ca332d89e7f077c4249e39afdd24ae173bd31e9da83796930 |
| hovercard-subject-tag | pull_request:3809915808 |
| 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/150958/files |
| twitter:image | https://avatars.githubusercontent.com/u/31488909?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/31488909?s=400&v=4 |
| og:image:alt | Update RawIOBase and FileIO documentation to match implementation behavior around .read, .readinto, .readall and .write. In particular: They may make more than one system call (PEP-475) Add warnin... |
| 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