| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:27dae57b-e445-630c-afaf-3c607f85d834 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A416:21FF2C:A67FF4:DB0CE4:6A51A3CD |
| html-safe-nonce | 667aee7e014ab66f1e7634ba1a51da426d16acee45db0e926fb7183db226adc9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDE2OjIxRkYyQzpBNjdGRjQ6REIwQ0U0OjZBNTFBM0NEIiwidmlzaXRvcl9pZCI6IjYxOTEyNDM2NjQ0NjQ5MTMzNTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e3a09dc0d0e22ce8b6d504c06dfd30750eb0964135e06af4657c2fcbc6663981 |
| hovercard-subject-tag | pull_request:1375342704 |
| 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/105224/files |
| twitter:image | https://avatars.githubusercontent.com/u/38729387?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/38729387?s=400&v=4 |
| og:image:alt | gh-57531 add BufferedReader.read() return value check for non-blocking stream mode, simply opt the TextIOWrapper error raising. |
| 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 full-width |
| 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/105224/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F105224%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%2F105224%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/105224/files |
| Reload | https://github.com/python/cpython/pull/105224/files |
| Reload | https://github.com/python/cpython/pull/105224/files |
| Please reload this page | https://github.com/python/cpython/pull/105224/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/105224/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
35k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.7k
| 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 |
| z764969689 | https://github.com/z764969689 |
| python:main | https://github.com/python/cpython/tree/main |
| z764969689:fix-issue-57531 | https://github.com/z764969689/cpython/tree/fix-issue-57531 |
|
Conversation
5
| https://github.com/python/cpython/pull/105224 |
|
Commits
22
| https://github.com/python/cpython/pull/105224/commits |
|
Checks
0
| https://github.com/python/cpython/pull/105224/checks |
|
Files changed
| https://github.com/python/cpython/pull/105224/files |
| Please reload this page | https://github.com/python/cpython/pull/105224/files |
|
gh-57531 add BufferedReader.read() return value check for non-blocking stream mode
| https://github.com/python/cpython/pull/105224/files#top |
|
Show all changes
22 commits
| https://github.com/python/cpython/pull/105224/files |
|
20da301
add BufferedReader.read() return value check for non-blocking stream …
z764969689 Jun 2, 2023
| https://github.com/python/cpython/pull/105224/commits/20da301237edbcdf6f962b586ae4330de20a5c9e |
|
696119e
📜🤖 Added by blurb_it.
blurb-it[bot] Jun 2, 2023
| https://github.com/python/cpython/pull/105224/commits/696119e0d596dbd43b6ba8c65c25196f48a6e92d |
|
8c430f3
fix input_chunk assignment error
z764969689 Jun 2, 2023
| https://github.com/python/cpython/pull/105224/commits/8c430f3270f982878261908da3031c274ac8d28f |
|
bee16c0
Merge branch 'fix-issue-57531' of github.com:z764969689/cpython into …
z764969689 Jun 2, 2023
| https://github.com/python/cpython/pull/105224/commits/bee16c0a307a3c2305190584c4863d195a65fe2f |
|
3ef17f8
Merge branch 'main' into fix-issue-57531
z764969689 Jun 2, 2023
| https://github.com/python/cpython/pull/105224/commits/3ef17f83eed124db45a494ef5134dc95bff31d23 |
|
3206d0e
Merge branch 'main' into fix-issue-57531
z764969689 Jun 2, 2023
| https://github.com/python/cpython/pull/105224/commits/3206d0e225108f08708d9995fdf103cd55729eb9 |
|
6cadcef
Merge branch 'main' into fix-issue-57531
z764969689 Jun 3, 2023
| https://github.com/python/cpython/pull/105224/commits/6cadcef2de96cf84740e34232100c7ba814b5296 |
|
ac22938
Merge branch 'main' into fix-issue-57531
z764969689 Jun 4, 2023
| https://github.com/python/cpython/pull/105224/commits/ac22938c1dc86284cf46931452e279e199ea62d1 |
|
28d82b5
Merge branch 'main' into fix-issue-57531
z764969689 Jun 5, 2023
| https://github.com/python/cpython/pull/105224/commits/28d82b5cfbdc26e0210301dfb96bf0e52a397d51 |
|
7c1ba82
Merge branch 'main' into fix-issue-57531
z764969689 Jun 9, 2023
| https://github.com/python/cpython/pull/105224/commits/7c1ba82dee239d41a85d80a923014d7004267370 |
|
3ae14cc
Merge branch 'main' into fix-issue-57531
z764969689 Jun 28, 2023
| https://github.com/python/cpython/pull/105224/commits/3ae14cc6323827f71accb1981da86963b5716695 |
|
caf95e0
Merge branch 'main' into fix-issue-57531
z764969689 Aug 2, 2023
| https://github.com/python/cpython/pull/105224/commits/caf95e028fd89d11d8d698fbe14835e4e08f7cf7 |
|
af3cc86
Merge branch 'main' into fix-issue-57531
z764969689 Jan 18, 2024
| https://github.com/python/cpython/pull/105224/commits/af3cc86073acfbf4b0292030617aace5d8c06650 |
|
d13f29c
Capitalize the first letter of the sentence in the NEWS entry
z764969689 Jan 18, 2024
| https://github.com/python/cpython/pull/105224/commits/d13f29c89cce9622ee17e113cee1b5aa6f73a09a |
|
68741ed
Fix error by manual resolution
z764969689 Jan 18, 2024
| https://github.com/python/cpython/pull/105224/commits/68741edc6b9686c9ecd0121582daf94d924d309b |
|
d5e5823
Merge branch 'main' into fix-issue-57531
z764969689 Jan 18, 2024
| https://github.com/python/cpython/pull/105224/commits/d5e58235aa0ebef0f1599851481c37b968d63e64 |
|
06e36d2
Merge branch 'main' into fix-issue-57531
z764969689 Jan 19, 2024
| https://github.com/python/cpython/pull/105224/commits/06e36d2ae97550c42f1b198bf78c657d3ede05d4 |
|
2c98129
add simple error raising test in test_io.py
z764969689 Jan 19, 2024
| https://github.com/python/cpython/pull/105224/commits/2c98129b42dffb7556294235602acb67aa980064 |
|
4014d38
Merge branch 'fix-issue-57531' of github.com:z764969689/cpython into …
z764969689 Jan 19, 2024
| https://github.com/python/cpython/pull/105224/commits/4014d38164ad5d0ae60d49096589b9943a542469 |
|
9d191d8
move test_read_non_blocking_stream test case to PyTextIOWrapperTest
z764969689 Jan 19, 2024
| https://github.com/python/cpython/pull/105224/commits/9d191d80aca4d85fa81bb4f415e17bc494757fa6 |
|
24370ab
Merge branch 'main' into fix-issue-57531
z764969689 Jan 22, 2024
| https://github.com/python/cpython/pull/105224/commits/24370abc3a9bfb20548836d9ce120a31c38a5321 |
|
cb7e3b0
Merge branch 'main' into fix-issue-57531
z764969689 Jan 29, 2024
| https://github.com/python/cpython/pull/105224/commits/cb7e3b0485c59b1c938d15f98e811caf2fdc507c |
|
Clear filters
| https://github.com/python/cpython/pull/105224/files |
| Please reload this page | https://github.com/python/cpython/pull/105224/files |
| Please reload this page | https://github.com/python/cpython/pull/105224/files |
|
_pyio.py
| https://github.com/python/cpython/pull/105224/files#diff-bcdfa9cbb0764d7959cda48f9084d79785f87c5ad7460f27ba2678b0bda76e38 |
|
test_io.py
| https://github.com/python/cpython/pull/105224/files#diff-c6987f6d27855daad275cfbf05fb3684c53fc82ff7146cd157e5838f9ad5f57f |
|
2023-06-02-08-40-32.gh-issue-57531.425aq5.rst
| https://github.com/python/cpython/pull/105224/files#diff-2987a0566550044ab2a8620d7b78c2f6b8bc277ec8dff0257bcb7963d159ef47 |
| Lib/_pyio.py | https://github.com/python/cpython/pull/105224/files#diff-bcdfa9cbb0764d7959cda48f9084d79785f87c5ad7460f27ba2678b0bda76e38 |
|
View file
| https://github.com/z764969689/cpython/blob/cb7e3b0485c59b1c938d15f98e811caf2fdc507c/Lib/_pyio.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/105224/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/105224/files#diff-bcdfa9cbb0764d7959cda48f9084d79785f87c5ad7460f27ba2678b0bda76e38 |
|
| https://github.com/python/cpython/pull/105224/files#diff-bcdfa9cbb0764d7959cda48f9084d79785f87c5ad7460f27ba2678b0bda76e38 |
| Lib/test/test_io.py | https://github.com/python/cpython/pull/105224/files#diff-c6987f6d27855daad275cfbf05fb3684c53fc82ff7146cd157e5838f9ad5f57f |
|
View file
| https://github.com/z764969689/cpython/blob/cb7e3b0485c59b1c938d15f98e811caf2fdc507c/Lib/test/test_io.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/105224/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/105224/files#diff-c6987f6d27855daad275cfbf05fb3684c53fc82ff7146cd157e5838f9ad5f57f |
|
| https://github.com/python/cpython/pull/105224/files#diff-c6987f6d27855daad275cfbf05fb3684c53fc82ff7146cd157e5838f9ad5f57f |
| Misc/NEWS.d/next/Core and Builtins/2023-06-02-08-40-32.gh-issue-57531.425aq5.rst | https://github.com/python/cpython/pull/105224/files#diff-2987a0566550044ab2a8620d7b78c2f6b8bc277ec8dff0257bcb7963d159ef47 |
|
View file
| https://github.com/z764969689/cpython/blob/cb7e3b0485c59b1c938d15f98e811caf2fdc507c/Misc/NEWS.d/next/Core%20and%20Builtins/2023-06-02-08-40-32.gh-issue-57531.425aq5.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/105224/{{ revealButtonHref }} |
|
| 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 |