| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:cff68433-b0be-b0dd-299f-2b0a29370616 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A304:2B1946:139FBAB:1AA0AF2:6A521CCB |
| html-safe-nonce | e75c4cbbc75deb260327da2abe83cdd0d5d877d22446962d172cda98d16cef0c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMzA0OjJCMTk0NjoxMzlGQkFCOjFBQTBBRjI6NkE1MjFDQ0IiLCJ2aXNpdG9yX2lkIjoiNTE2NDA0ODgzNjI5ODE1MzE2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2a9a6dcfb4e8f95d51fce5587a48bd71b2a3b102a9c637f799d376577c22416d |
| hovercard-subject-tag | pull_request:2363113657 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/130653/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 | Synchronize io.BufferedReader and io.BufferedIOBase documentation with the current implementation. Focused on behavior around non-blocking streams.
Issue: gh-80050
📚 Documentation preview 📚:... |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/130653/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F130653%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F130653%2Ffiles |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/130653/files |
| Reload | https://github.com/python/cpython/pull/130653/files |
| Reload | https://github.com/python/cpython/pull/130653/files |
| Please reload this page | https://github.com/python/cpython/pull/130653/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/130653/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
35k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.8k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Code
| https://github.com/python/cpython |
|
Issues
5k+
| https://github.com/python/cpython/issues |
|
Pull requests
2.3k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
0
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
|
Code
| https://github.com/python/cpython |
|
Issues
| https://github.com/python/cpython/issues |
|
Pull requests
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| gpshead | https://github.com/gpshead |
| python:main | https://github.com/python/cpython/tree/main |
| cmaloney:docs_buffferedreader | https://github.com/cmaloney/cpython/tree/docs_buffferedreader |
|
Conversation
9
| https://github.com/python/cpython/pull/130653 |
|
Commits
15
| https://github.com/python/cpython/pull/130653/commits |
|
Checks
0
| https://github.com/python/cpython/pull/130653/checks |
|
Files changed
| https://github.com/python/cpython/pull/130653/files |
| Please reload this page | https://github.com/python/cpython/pull/130653/files |
|
gh-80050: Update BufferedReader.read docs around non-blocking
| https://github.com/python/cpython/pull/130653/files#top |
|
Show all changes
15 commits
| https://github.com/python/cpython/pull/130653/files |
|
4ed4237
gh-80050: Update BufferedReader.read around non-blocking
cmaloney Feb 27, 2025
| https://github.com/python/cpython/pull/130653/commits/4ed423723c5024d1f8f8964ee09496ac7ffba63d |
|
b87870b
Tweaks around raw.readall
cmaloney Feb 27, 2025
| https://github.com/python/cpython/pull/130653/commits/b87870b84027d7bc24d7078616fb78fb00adc419 |
|
2119f78
tweak readall, hopefully passes
cmaloney Feb 27, 2025
| https://github.com/python/cpython/pull/130653/commits/2119f7836e255af33a1519c2c5d059c58d8a5a63 |
|
ec7f023
tweaks
cmaloney Feb 27, 2025
| https://github.com/python/cpython/pull/130653/commits/ec7f02395ab42fe3dbea64cc8eb414e1d7246680 |
|
11b754d
clss -> class
cmaloney Feb 28, 2025
| https://github.com/python/cpython/pull/130653/commits/11b754d0a2ab9a3a1e77e0d4ef590da6ee40dca4 |
|
b6d319b
grammatical tweaking
cmaloney Feb 28, 2025
| https://github.com/python/cpython/pull/130653/commits/b6d319bbbb1957a1568caa29342c7c5b5e053fd2 |
|
59bd2a1
Update to include behavior around None
cmaloney Mar 11, 2025
| https://github.com/python/cpython/pull/130653/commits/59bd2a1cccc7b92ecd62799a290b309c15840a78 |
|
fbbc382
tweak
cmaloney Mar 11, 2025
| https://github.com/python/cpython/pull/130653/commits/fbbc382bd2183dc40a9d30d5711ee95bf2934fe8 |
|
dea91ab
Tweak read and read1 None and BlockingIOError comments
cmaloney Mar 13, 2025
| https://github.com/python/cpython/pull/130653/commits/dea91abf619def3403b06959d1412d66566d0845 |
|
7c4ef7e
in read1 refer to EINTR retrying
cmaloney Mar 13, 2025
| https://github.com/python/cpython/pull/130653/commits/7c4ef7ea360e4b5025d50fde024383151e0872da |
|
c637402
fix doc lint around raw.readinto
cmaloney Mar 13, 2025
| https://github.com/python/cpython/pull/130653/commits/c6374022dd7316bfcc42a179fa2bf893a48595e7 |
|
22bc9aa
personal review fixes
cmaloney May 13, 2025
| https://github.com/python/cpython/pull/130653/commits/22bc9aaf347552706b73386772f4254c73e914d5 |
|
1c4a09c
Update BufferedIOBase class doc for non-blocking
cmaloney May 19, 2025
| https://github.com/python/cpython/pull/130653/commits/1c4a09cef8a0d9f3cde40301a4277da888809cb9 |
|
8ea45f3
Include characters_written in BlockingReader
cmaloney May 19, 2025
| https://github.com/python/cpython/pull/130653/commits/8ea45f3ab08147b8faf66dedd21e2bc7c3404915 |
|
45bb912
Fewer rather than Less
gpshead May 21, 2025
| https://github.com/python/cpython/pull/130653/commits/45bb9124238a5df4b82c6430641f97a1adeb3fe3 |
|
Clear filters
| https://github.com/python/cpython/pull/130653/files |
| Please reload this page | https://github.com/python/cpython/pull/130653/files |
| Please reload this page | https://github.com/python/cpython/pull/130653/files |
| Doc/library/io.rst | https://github.com/python/cpython/pull/130653/files#diff-ccf558cb765d6938e25439f8a40c032f00672f675c8ddc6a5b2be6aef53a0cda |
|
View file
| https://github.com/cmaloney/cpython/blob/45bb9124238a5df4b82c6430641f97a1adeb3fe3/Doc/library/io.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/130653/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/130653/files#diff-ccf558cb765d6938e25439f8a40c032f00672f675c8ddc6a5b2be6aef53a0cda |
|
| https://github.com/python/cpython/pull/130653/files#diff-ccf558cb765d6938e25439f8a40c032f00672f675c8ddc6a5b2be6aef53a0cda |
|
| https://github.com/python/cpython/pull/130653/files#diff-ccf558cb765d6938e25439f8a40c032f00672f675c8ddc6a5b2be6aef53a0cda |
| Please reload this page | https://github.com/python/cpython/pull/130653/files |
|
| https://github.com/python/cpython/pull/130653/files#diff-ccf558cb765d6938e25439f8a40c032f00672f675c8ddc6a5b2be6aef53a0cda |
|
| https://github.com/python/cpython/pull/130653/files#diff-ccf558cb765d6938e25439f8a40c032f00672f675c8ddc6a5b2be6aef53a0cda |
|
| https://github.com/python/cpython/pull/130653/files#diff-ccf558cb765d6938e25439f8a40c032f00672f675c8ddc6a5b2be6aef53a0cda |
|
| https://github.com/python/cpython/pull/130653/files#diff-ccf558cb765d6938e25439f8a40c032f00672f675c8ddc6a5b2be6aef53a0cda |
| cmaloney | https://github.com/cmaloney |
| May 19, 2025 | https://github.com/python/cpython/pull/130653/files#r2096546574 |
| Please reload this page | https://github.com/python/cpython/pull/130653/files |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| cpython/Lib/test/test_io.py | https://github.com/python/cpython/blob/a7f317d7300235d9efff5a0350b1bae14720d42f/Lib/test/test_io.py#L1918-L1943 |
| a7f317d | https://github.com/python/cpython/commit/a7f317d7300235d9efff5a0350b1bae14720d42f |
| Please reload this page | https://github.com/python/cpython/pull/130653/files |
|
| https://github.com/python/cpython/pull/130653/files#diff-ccf558cb765d6938e25439f8a40c032f00672f675c8ddc6a5b2be6aef53a0cda |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |