René's URL Explorer Experiment


Title: GH-120754: Disable buffering in Path.read_bytes by cmaloney · Pull Request #122111 · python/cpython · GitHub

Open Graph Title: GH-120754: Disable buffering in Path.read_bytes by cmaloney · Pull Request #122111 · python/cpython

X Title: GH-120754: Disable buffering in Path.read_bytes by cmaloney · Pull Request #122111 · python/cpython

Description: Path.read_bytes() is used to read a whole file. buffering= / BufferedIO is focused around making small, possibly interleaved, read and write efficient which doesn't add value for this case. This ma...

Open Graph Description: Path.read_bytes() is used to read a whole file. buffering= / BufferedIO is focused around making small, possibly interleaved, read and write efficient which doesn't add value for this case. Thi...

X Description: Path.read_bytes() is used to read a whole file. buffering= / BufferedIO is focused around making small, possibly interleaved, read and write efficient which doesn't add value for this case....

Opengraph URL: https://github.com/python/cpython/pull/122111

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:102b070b-3ad7-f5dd-dc52-b6c726f5cc0c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id864C:319547:2058650:2A1B88A:696B49B1
html-safe-nonce1b44d6bf74fea7b74fad799c4636bfbd33f6ffde262406db209fb2c0eaad4b02
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjRDOjMxOTU0NzoyMDU4NjUwOjJBMUI4OEE6Njk2QjQ5QjEiLCJ2aXNpdG9yX2lkIjoiNjkzNTczMjk4NjMwMDgxMTY5NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac51a09d2bd9e4d0df6a53deee85a064a9482590547d02830d7e364702e186d853
hovercard-subject-tagpull_request:1980723838
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/122111/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f9450a35fc7aba77b957dcdb1f56d37cc2b568c953c0668ffcf1af2f70142c18/python/cpython/pull/122111
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f9450a35fc7aba77b957dcdb1f56d37cc2b568c953c0668ffcf1af2f70142c18/python/cpython/pull/122111
og:image:altPath.read_bytes() is used to read a whole file. buffering= / BufferedIO is focused around making small, possibly interleaved, read and write efficient which doesn't add value for this case. Thi...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecmaloney
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/122111#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F122111
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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%2F122111
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/122111
Reloadhttps://github.com/python/cpython/pull/122111
Reloadhttps://github.com/python/cpython/pull/122111
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/122111
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k 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.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/pull/122111
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 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 servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python/cpython/pull/122111#issue-comment-box
hauntsaninjahttps://github.com/hauntsaninja
python:mainhttps://github.com/python/cpython/tree/main
cmaloney:cmaloney/read_bytes_nobufferhttps://github.com/cmaloney/cpython/tree/cmaloney/read_bytes_nobuffer
GH-120754: Disable buffering in Path.read_bytes https://github.com/python/cpython/pull/122111#top
hauntsaninjahttps://github.com/hauntsaninja
python:mainhttps://github.com/python/cpython/tree/main
cmaloney:cmaloney/read_bytes_nobufferhttps://github.com/cmaloney/cpython/tree/cmaloney/read_bytes_nobuffer
Conversation 0 https://github.com/python/cpython/pull/122111
Commits 2 https://github.com/python/cpython/pull/122111/commits
Checks 0 https://github.com/python/cpython/pull/122111/checks
Files changed https://github.com/python/cpython/pull/122111/files
Please reload this pagehttps://github.com/python/cpython/pull/122111
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/cmaloney
cmaloneyhttps://github.com/cmaloney
Jul 22, 2024https://github.com/python/cpython/pull/122111#issue-2422297423
Please reload this pagehttps://github.com/python/cpython/pull/122111
Speed up open().read() pattern by reducing the number of system calls #120754https://github.com/python/cpython/issues/120754
Please reload this pagehttps://github.com/python/cpython/pull/122111
https://github.com/cmaloney
pythonGH-120754https://github.com/python/cpython/issues/120754
: Disable buffering in Path.read_byteshttps://github.com/python/cpython/pull/122111/commits/dac5dd9f15f960f808a9bd547fa4271db6478b5e
dac5dd9https://github.com/python/cpython/pull/122111/commits/dac5dd9f15f960f808a9bd547fa4271db6478b5e
https://github.com/cmaloney
cmaloneyhttps://github.com/cmaloney
barneygalehttps://github.com/barneygale
code ownerhttps://github.com/python/cpython/blob/bc264eac3ad14dab748e33b3d714c2674872791f/.github/CODEOWNERS#L237
July 22, 2024 08:42https://github.com/python/cpython/pull/122111#event-13597719971
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jul 22, 2024 https://github.com/python/cpython/pull/122111#ref-issue-2363021533
Speed up open().read() pattern by reducing the number of system calls #120754 https://github.com/python/cpython/issues/120754
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Jul 22, 2024https://github.com/python/cpython/pull/122111#event-13597721395
https://github.com/apps/blurb-it
📜🤖 Added by blurb_it.https://github.com/python/cpython/pull/122111/commits/02eaa924490db4e1a20acfa4f08eab117b20aa0b
02eaa92https://github.com/python/cpython/pull/122111/commits/02eaa924490db4e1a20acfa4f08eab117b20aa0b
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Aug 16, 2024 https://github.com/python/cpython/pull/122111#pullrequestreview-2243529876
View reviewed changes https://github.com/python/cpython/pull/122111/files/02eaa924490db4e1a20acfa4f08eab117b20aa0b
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Aug 16, 2024https://github.com/python/cpython/pull/122111#event-13915727322
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
35d8ac7https://github.com/python/cpython/commit/35d8ac7cd7ed6cd3d84af721dce970da59bd5f68
Aug 16, 2024https://github.com/python/cpython/pull/122111#event-13915732278
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Aug 16, 2024https://github.com/python/cpython/pull/122111#event-13915732864
https://github.com/cmaloney
cmaloneyhttps://github.com/cmaloney
August 18, 2024 03:35https://github.com/python/cpython/pull/122111#event-13921084112
jeremyhyltonhttps://github.com/jeremyhylton
Aug 19, 2024 https://github.com/python/cpython/pull/122111#ref-commit-c4ce2c2
https://github.com/cmaloney
https://github.com/jeremyhylton
pythonGH-120754https://github.com/python/cpython/issues/120754
: Disable buffering in Path.read_bytes (https://github.com/jeremyhylton/cpython/commit/c4ce2c2f6c572fc84ebf15ee16675e908f57327d
python#122111https://github.com/python/cpython/pull/122111
)https://github.com/jeremyhylton/cpython/commit/c4ce2c2f6c572fc84ebf15ee16675e908f57327d
c4ce2c2https://github.com/jeremyhylton/cpython/commit/c4ce2c2f6c572fc84ebf15ee16675e908f57327d
blhsinghttps://github.com/blhsing
Aug 22, 2024 https://github.com/python/cpython/pull/122111#ref-commit-91af897
https://github.com/cmaloney
https://github.com/blhsing
pythonGH-120754https://github.com/python/cpython/issues/120754
: Disable buffering in Path.read_bytes (https://github.com/blhsing/cpython/commit/91af897271a0d7d75c334418fbc49d7abeaddb48
python#122111https://github.com/python/cpython/pull/122111
)https://github.com/blhsing/cpython/commit/91af897271a0d7d75c334418fbc49d7abeaddb48
91af897https://github.com/blhsing/cpython/commit/91af897271a0d7d75c334418fbc49d7abeaddb48
https://github.com/cmaloney
cmaloneyhttps://github.com/cmaloney
Aug 28, 2024 https://github.com/python/cpython/pull/122111#ref-pullrequest-2490592003
gh-120754: Refactor I/O modules to stash whole stat result rather than individual members #123412 https://github.com/python/cpython/pull/123412
cmaloneyhttps://github.com/cmaloney
Aug 28, 2024 https://github.com/python/cpython/pull/122111#ref-commit-d3ecdba
https://github.com/cmaloney
Adjustments after reverthttps://github.com/cmaloney/cpython/commit/d3ecdbaabc56bfe020459f447e7d2f0146185a14
d3ecdbahttps://github.com/cmaloney/cpython/commit/d3ecdbaabc56bfe020459f447e7d2f0146185a14
python#121143 (comment)https://github.com/python/cpython/pull/121143#issuecomment-2308545226
python#122111https://github.com/python/cpython/pull/122111
@gpsheadhttps://github.com/gpshead
https://github.com/cmaloney
cmaloneyhttps://github.com/cmaloney
Aug 28, 2024 https://github.com/python/cpython/pull/122111#ref-pullrequest-2490979259
gh-120754: Add a strace helper and test set of syscalls for open().read(), Take 2 #123413 https://github.com/python/cpython/pull/123413
https://github.com/cmaloney
cmaloneyhttps://github.com/cmaloney
Oct 3, 2024 https://github.com/python/cpython/pull/122111#ref-pullrequest-2563231155
gh-90102: Remove isatty call during regular open #124922 https://github.com/python/cpython/pull/124922
https://github.com/cmaloney
cmaloneyhttps://github.com/cmaloney
Feb 2, 2025 https://github.com/python/cpython/pull/122111#ref-issue-2797268362
Reduce copies when reading files in pyio, match behavior of _io #129005 https://github.com/python/cpython/issues/129005
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F122111
https://github.com/hauntsaninja
hauntsaninja https://github.com/hauntsaninja
https://github.com/python/cpython/pull/122111/files/02eaa924490db4e1a20acfa4f08eab117b20aa0b
https://github.com/barneygale
barneygale https://github.com/barneygale
Please reload this pagehttps://github.com/python/cpython/pull/122111
https://github.com/cmaloney
https://github.com/hauntsaninja
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.