René's URL Explorer Experiment


Title: gh-114077: Fix OverflowError in socket.sendfile() when pass count >2GiB by serhiy-storchaka · Pull Request #114079 · python/cpython · GitHub

Open Graph Title: gh-114077: Fix OverflowError in socket.sendfile() when pass count >2GiB by serhiy-storchaka · Pull Request #114079 · python/cpython

X Title: gh-114077: Fix OverflowError in socket.sendfile() when pass count >2GiB by serhiy-storchaka · Pull Request #114079 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: There are no tests for sending such large files. And I think that they would be non-practical. Issue: socket.sendfile(): os.sendfile() can fail with OverflowError on 32-bit system #114077

X Description: There are no tests for sending such large files. And I think that they would be non-practical. Issue: socket.sendfile(): os.sendfile() can fail with OverflowError on 32-bit system #114077

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

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:7e86d30e-df1b-dd14-6eed-fff8d486c2b7
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id83C2:8A2B5:41389CB:5C2879B:6A4FB734
html-safe-nonce9b10ea1c46b0fb80c940ff47d969aed893d74d14bff706c8bd15049d1bb4e53a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4M0MyOjhBMkI1OjQxMzg5Q0I6NUMyODc5Qjo2QTRGQjczNCIsInZpc2l0b3JfaWQiOiI3OTM2NjEwMjg2NDEyMjE2MTE2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac7af8279d2dad129b410cc0770f5ff4f917a8c527dd10f4c1cda9c3dd969dd98e
hovercard-subject-tagpull_request:1678962684
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/114079/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/387008532379167be38dad98c8e1ff9ed41d57030e6f6605b0491e35e1f3944b/python/cpython/pull/114079
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/387008532379167be38dad98c8e1ff9ed41d57030e6f6605b0491e35e1f3944b/python/cpython/pull/114079
og:image:altThere are no tests for sending such large files. And I think that they would be non-practical. Issue: socket.sendfile(): os.sendfile() can fail with OverflowError on 32-bit system #114077
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameserhiy-storchaka
hostnamegithub.com
expected-hostnamegithub.com
Noneb92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9
turbo-cache-controlno-cache
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
release4b249b445842943ed31549e027f57a8ade9881ed
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/114079#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F114079
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2F114079
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/114079
Reloadhttps://github.com/python/cpython/pull/114079
Reloadhttps://github.com/python/cpython/pull/114079
Please reload this pagehttps://github.com/python/cpython/pull/114079
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/114079
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.8k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.6k 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
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:socket-sendfile-overflowhttps://github.com/serhiy-storchaka/cpython/tree/socket-sendfile-overflow
Conversationhttps://github.com/python/cpython/pull/114079
Commits2 (2)https://github.com/python/cpython/pull/114079/commits
Checkshttps://github.com/python/cpython/pull/114079/checks
Files changedhttps://github.com/python/cpython/pull/114079/files
gh-114077: Fix OverflowError in socket.sendfile() when pass count >2GiBhttps://github.com/python/cpython/pull/114079#top
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
serhiy-storchaka:socket-sendfile-overflowhttps://github.com/serhiy-storchaka/cpython/tree/socket-sendfile-overflow
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Jan 15, 2024https://github.com/python/cpython/pull/114079#issue-2081700925
Please reload this pagehttps://github.com/python/cpython/pull/114079
socket.sendfile(): os.sendfile() can fail with OverflowError on 32-bit system #114077https://github.com/python/cpython/issues/114077
Please reload this pagehttps://github.com/python/cpython/pull/114079
https://github.com/serhiy-storchaka
pythongh-114077https://github.com/python/cpython/issues/114077
: Fix OverflowError in socket.sendfile() when pass cou…https://github.com/python/cpython/pull/114079/commits/19b44c46f2804d4f0073175d61c285a2e8b1d76c
19b44c4https://github.com/python/cpython/pull/114079/commits/19b44c46f2804d4f0073175d61c285a2e8b1d76c
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
needs backport to 3.11 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.11%22
needs backport to 3.12 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.12%22
Jan 15, 2024https://github.com/python/cpython/pull/114079#event-11486279883
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Jan 15, 2024https://github.com/python/cpython/pull/114079#event-11486280679
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jan 15, 2024 https://github.com/python/cpython/pull/114079#ref-issue-2081648442
socket.sendfile(): os.sendfile() can fail with OverflowError on 32-bit system #114077 https://github.com/python/cpython/issues/114077
https://github.com/erlend-aasland
erlend-aaslandhttps://github.com/erlend-aasland
Jan 15, 2024 https://github.com/python/cpython/pull/114079#ref-pullrequest-2008529861
gh-112341: Specify the exact file size if offset is non zero in socket.sendfile #112342 https://github.com/python/cpython/pull/112342
https://github.com/aisk
aiskhttps://github.com/aisk
Jan 15, 2024 https://github.com/python/cpython/pull/114079#pullrequestreview-1821729149
View reviewed changes https://github.com/python/cpython/pull/114079/files/19b44c46f2804d4f0073175d61c285a2e8b1d76c
Misc/NEWS.d/next/Library/2024-01-15-12-12-54.gh-issue-114077.KcVnfj.rsthttps://github.com/python/cpython/pull/114079/files/19b44c46f2804d4f0073175d61c285a2e8b1d76c#diff-b220c292445184898cb756e236ee8d895f61f41a2deb87a132149aa1df606d81
Please reload this pagehttps://github.com/python/cpython/pull/114079
https://github.com/hauntsaninja
hauntsaninjahttps://github.com/hauntsaninja
Jan 15, 2024 https://github.com/python/cpython/pull/114079#pullrequestreview-1822353529
View reviewed changes https://github.com/python/cpython/pull/114079/files/19b44c46f2804d4f0073175d61c285a2e8b1d76c
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 core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Jan 15, 2024https://github.com/python/cpython/pull/114079#event-11492861404
https://github.com/serhiy-storchaka
https://github.com/aisk
Update Misc/NEWS.d/next/Library/2024-01-15-12-12-54.gh-issue-114077.K…https://github.com/python/cpython/pull/114079/commits/d6871d2f4cd5778b2ad370e0386120afa78c8873
d6871d2https://github.com/python/cpython/pull/114079/commits/d6871d2f4cd5778b2ad370e0386120afa78c8873
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
January 16, 2024 11:15https://github.com/python/cpython/pull/114079#event-11497525090
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
d4dfad2https://github.com/python/cpython/commit/d4dfad2aa9e76038302b0c5a29ebacc2723ed50d
Jan 16, 2024https://github.com/python/cpython/pull/114079#event-11497688211
https://github.com/apps/miss-islington-app
miss-islington-apphttps://github.com/apps/miss-islington-app
Jan 16, 2024https://github.com/python/cpython/pull/114079#issuecomment-1893562013
@serhiy-storchakahttps://github.com/serhiy-storchaka
Please reload this pagehttps://github.com/python/cpython/pull/114079
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
Jan 16, 2024https://github.com/python/cpython/pull/114079#event-11497688767
miss-islingtonhttps://github.com/miss-islington
Jan 16, 2024 https://github.com/python/cpython/pull/114079#ref-commit-e0ab35b
https://github.com/serhiy-storchaka
https://github.com/miss-islington
pythongh-114077https://github.com/python/cpython/issues/114077
: Fix OverflowError in socket.sendfile() when pass cou…https://github.com/miss-islington/cpython/commit/e0ab35b1794d8645d585d8ae672b2d96eaaa674e
e0ab35bhttps://github.com/miss-islington/cpython/commit/e0ab35b1794d8645d585d8ae672b2d96eaaa674e
pythonGH-114079https://github.com/python/cpython/pull/114079
d4dfad2https://github.com/miss-islington/cpython/commit/d4dfad2aa9e76038302b0c5a29ebacc2723ed50d
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jan 16, 2024https://github.com/python/cpython/pull/114079#issuecomment-1893562249
GH-114110https://github.com/python/cpython/pull/114110
3.12 branchhttps://github.com/python/cpython/tree/3.12
Please reload this pagehttps://github.com/python/cpython/pull/114079
miss-islingtonhttps://github.com/miss-islington
Jan 16, 2024 https://github.com/python/cpython/pull/114079#ref-commit-64ccc04
https://github.com/serhiy-storchaka
https://github.com/miss-islington
pythongh-114077https://github.com/python/cpython/issues/114077
: Fix OverflowError in socket.sendfile() when pass cou…https://github.com/miss-islington/cpython/commit/64ccc043f1c782c632b000cbe6268d1a00b8d50e
64ccc04https://github.com/miss-islington/cpython/commit/64ccc043f1c782c632b000cbe6268d1a00b8d50e
pythonGH-114079https://github.com/python/cpython/pull/114079
d4dfad2https://github.com/miss-islington/cpython/commit/d4dfad2aa9e76038302b0c5a29ebacc2723ed50d
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.12 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.12%22
Jan 16, 2024https://github.com/python/cpython/pull/114079#event-11497690485
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jan 16, 2024https://github.com/python/cpython/pull/114079#issuecomment-1893562386
GH-114111https://github.com/python/cpython/pull/114111
3.11 branchhttps://github.com/python/cpython/tree/3.11
Please reload this pagehttps://github.com/python/cpython/pull/114079
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
needs backport to 3.11 https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.11%22
Jan 16, 2024https://github.com/python/cpython/pull/114079#event-11497691366
serhiy-storchakahttps://github.com/serhiy-storchaka
Jan 16, 2024 https://github.com/python/cpython/pull/114079#ref-commit-045adb1
https://github.com/miss-islington
https://github.com/serhiy-storchaka
[3.12]https://github.com/python/cpython/commit/045adb1ad893ce350ac40e180da44523d03361a0
gh-114077https://github.com/python/cpython/issues/114077
: Fix OverflowError in socket.sendfile() when pass co…https://github.com/python/cpython/commit/045adb1ad893ce350ac40e180da44523d03361a0
045adb1https://github.com/python/cpython/commit/045adb1ad893ce350ac40e180da44523d03361a0
GH-114079https://github.com/python/cpython/pull/114079
GH-114110https://github.com/python/cpython/pull/114110
d4dfad2https://github.com/python/cpython/commit/d4dfad2aa9e76038302b0c5a29ebacc2723ed50d
serhiy-storchakahttps://github.com/serhiy-storchaka
Jan 16, 2024 https://github.com/python/cpython/pull/114079#ref-commit-0e92265
https://github.com/miss-islington
https://github.com/serhiy-storchaka
[3.11]https://github.com/python/cpython/commit/0e922658755a6e62995661f03aca86cda13ba03e
gh-114077https://github.com/python/cpython/issues/114077
: Fix OverflowError in socket.sendfile() when pass co…https://github.com/python/cpython/commit/0e922658755a6e62995661f03aca86cda13ba03e
0e92265https://github.com/python/cpython/commit/0e922658755a6e62995661f03aca86cda13ba03e
GH-114079https://github.com/python/cpython/pull/114079
GH-114111https://github.com/python/cpython/pull/114111
d4dfad2https://github.com/python/cpython/commit/d4dfad2aa9e76038302b0c5a29ebacc2723ed50d
kulikjakhttps://github.com/kulikjak
Jan 22, 2024 https://github.com/python/cpython/pull/114079#ref-commit-0863fd1
https://github.com/serhiy-storchaka
https://github.com/kulikjak
pythongh-114077https://github.com/python/cpython/issues/114077
: Fix OverflowError in socket.sendfile() when pass cou…https://github.com/kulikjak/cpython/commit/0863fd13bde75906cd823e5730b93adfb45f4649
0863fd1https://github.com/kulikjak/cpython/commit/0863fd13bde75906cd823e5730b93adfb45f4649
pythonGH-114079https://github.com/python/cpython/pull/114079
aiskhttps://github.com/aisk
Feb 11, 2024 https://github.com/python/cpython/pull/114079#ref-commit-e1dfeda
https://github.com/serhiy-storchaka
https://github.com/aisk
pythongh-114077https://github.com/python/cpython/issues/114077
: Fix OverflowError in socket.sendfile() when pass cou…https://github.com/aisk/cpython/commit/e1dfeda98a4d2f5144af74adc03e26d1daee1e25
e1dfedahttps://github.com/aisk/cpython/commit/e1dfeda98a4d2f5144af74adc03e26d1daee1e25
pythonGH-114079https://github.com/python/cpython/pull/114079
Glyphackhttps://github.com/Glyphack
Sep 2, 2024 https://github.com/python/cpython/pull/114079#ref-commit-f9e392e
https://github.com/serhiy-storchaka
https://github.com/Glyphack
pythongh-114077https://github.com/python/cpython/issues/114077
: Fix OverflowError in socket.sendfile() when pass cou…https://github.com/Glyphack/cpython/commit/f9e392e8d9f2625e4e794a920909db8b8b1c2db3
f9e392ehttps://github.com/Glyphack/cpython/commit/f9e392e8d9f2625e4e794a920909db8b8b1c2db3
pythonGH-114079https://github.com/python/cpython/pull/114079
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
July 1, 2026 16:51https://github.com/python/cpython/pull/114079#event-27440391617
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
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%2F114079
https://github.com/aisk
aisk https://github.com/aisk
https://github.com/python/cpython/pull/114079/files/19b44c46f2804d4f0073175d61c285a2e8b1d76c
https://github.com/hauntsaninja
hauntsaninja https://github.com/hauntsaninja
https://github.com/python/cpython/pull/114079/files/19b44c46f2804d4f0073175d61c285a2e8b1d76c
Please reload this pagehttps://github.com/python/cpython/pull/114079
https://github.com/serhiy-storchaka
https://github.com/aisk
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.