René's URL Explorer Experiment


Title: gh-63016: Add flags parameter on mmap.flush by aisk · Pull Request #139553 · python/cpython · GitHub

Open Graph Title: gh-63016: Add flags parameter on mmap.flush by aisk · Pull Request #139553 · python/cpython

X Title: gh-63016: Add flags parameter on mmap.flush by aisk · Pull Request #139553 · python/cpython

Description: Issue: "mmap.flush()" is always synchronous, hurting performance #63016 📚 Documentation preview 📚: https://cpython-previews--139553.org.readthedocs.build/

Open Graph Description: Issue: "mmap.flush()" is always synchronous, hurting performance #63016 📚 Documentation preview 📚: https://cpython-previews--139553.org.readthedocs.build/

X Description: Issue: "mmap.flush()" is always synchronous, hurting performance #63016 📚 Documentation preview 📚: https://cpython-previews--139553.org.readthedocs.build/

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

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:cc27d7cc-4c38-9ef1-98aa-ace9158c107b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEA8A:22391C:17CDF53:1F2CCDD:696B87F1
html-safe-nonce5d8daeea2c9d8c1cb054b7f74c7a93297bfc464428c78799da27170e4bc08777
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQThBOjIyMzkxQzoxN0NERjUzOjFGMkNDREQ6Njk2Qjg3RjEiLCJ2aXNpdG9yX2lkIjoiMzg5NjI3OTQ1NTIwOTU4ODcyMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac65389c13c1b586630d0643c2d15bef73d3081ec5bda1e3174c5c7cb17cadd342
hovercard-subject-tagpull_request:2887148619
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/139553/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/97ac7575d2d78e174bc58f5014456dd9f2e98bf5c1f14939bf138f31de036917/python/cpython/pull/139553
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/97ac7575d2d78e174bc58f5014456dd9f2e98bf5c1f14939bf138f31de036917/python/cpython/pull/139553
og:image:altIssue: "mmap.flush()" is always synchronous, hurting performance #63016 📚 Documentation preview 📚: https://cpython-previews--139553.org.readthedocs.build/
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameaisk
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-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/139553#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F139553
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%2F139553
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/139553
Reloadhttps://github.com/python/cpython/pull/139553
Reloadhttps://github.com/python/cpython/pull/139553
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/139553
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/139553
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/139553#issue-comment-box
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
aisk:mmap-flush-flagshttps://github.com/aisk/cpython/tree/mmap-flush-flags
gh-63016: Add flags parameter on mmap.flush https://github.com/python/cpython/pull/139553#top
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
aisk:mmap-flush-flagshttps://github.com/aisk/cpython/tree/mmap-flush-flags
Conversation 11 https://github.com/python/cpython/pull/139553
Commits 11 https://github.com/python/cpython/pull/139553/commits
Checks 44 https://github.com/python/cpython/pull/139553/checks
Files changed https://github.com/python/cpython/pull/139553/files
Please reload this pagehttps://github.com/python/cpython/pull/139553
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/aisk
aiskhttps://github.com/aisk
Oct 4, 2025https://github.com/python/cpython/pull/139553#issue-3483634556
Please reload this pagehttps://github.com/python/cpython/pull/139553
"mmap.flush()" is always synchronous, hurting performance #63016https://github.com/python/cpython/issues/63016
https://cpython-previews--139553.org.readthedocs.build/https://cpython-previews--139553.org.readthedocs.build/
Please reload this pagehttps://github.com/python/cpython/pull/139553
aiskhttps://github.com/aisk
October 4, 2025 20:55https://github.com/python/cpython/pull/139553#commits-pushed-eb249ef
https://github.com/aisk
Add flags parameter on mmap.flushhttps://github.com/python/cpython/pull/139553/commits/eb249eff00c295569a9e817423bb57ed31945bfa
eb249efhttps://github.com/python/cpython/pull/139553/commits/eb249eff00c295569a9e817423bb57ed31945bfa
https://github.com/aisk
Compatible on Windowshttps://github.com/python/cpython/pull/139553/commits/1824344f2960ccb3b1bfa90d10a24a8a7d6af204
1824344https://github.com/python/cpython/pull/139553/commits/1824344f2960ccb3b1bfa90d10a24a8a7d6af204
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
Oct 4, 2025https://github.com/python/cpython/pull/139553#event-20096007212
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 4, 2025 https://github.com/python/cpython/pull/139553#ref-issue-1198904195
"mmap.flush()" is always synchronous, hurting performance #63016 https://github.com/python/cpython/issues/63016
https://github.com/aisk
aiskhttps://github.com/aisk
Oct 4, 2025https://github.com/python/cpython/pull/139553#issuecomment-3368181842
#139237https://github.com/python/cpython/pull/139237
Please reload this pagehttps://github.com/python/cpython/pull/139553
https://github.com/aisk
aiskhttps://github.com/aisk
October 4, 2025 12:26https://github.com/python/cpython/pull/139553#event-20096069623
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
Oct 4, 2025https://github.com/python/cpython/pull/139553#event-20096069764
aiskhttps://github.com/aisk
October 11, 2025 21:49https://github.com/python/cpython/pull/139553#commits-pushed-7ab6d30
https://github.com/aisk
Merge remote-tracking branch 'upstream/main' into mmap-flush-flagshttps://github.com/python/cpython/pull/139553/commits/7ab6d302a620405b3385c473100f559bbca5eef9
7ab6d30https://github.com/python/cpython/pull/139553/commits/7ab6d302a620405b3385c473100f559bbca5eef9
https://github.com/aisk
Update to use Argument Clinichttps://github.com/python/cpython/pull/139553/commits/7215d14cb5e942fe58352bea72e0877291d6edf9
7215d14https://github.com/python/cpython/pull/139553/commits/7215d14cb5e942fe58352bea72e0877291d6edf9
https://github.com/aisk
aiskhttps://github.com/aisk
October 11, 2025 13:00https://github.com/python/cpython/pull/139553#event-20224287317
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
Oct 11, 2025https://github.com/python/cpython/pull/139553#event-20224287905
https://github.com/aisk
Fix documenthttps://github.com/python/cpython/pull/139553/commits/05794b7c2d015adf8070a936ad6d86a206c511fc
05794b7https://github.com/python/cpython/pull/139553/commits/05794b7c2d015adf8070a936ad6d86a206c511fc
https://github.com/aisk
aiskhttps://github.com/aisk
Oct 11, 2025https://github.com/python/cpython/pull/139553#issuecomment-3393311863
#139237https://github.com/python/cpython/pull/139237
Please reload this pagehttps://github.com/python/cpython/pull/139553
aiskhttps://github.com/aisk
December 23, 2025 22:51https://github.com/python/cpython/pull/139553#commits-pushed-d32ed52
https://github.com/aisk
Merge branch 'main' into mmap-flush-flagshttps://github.com/python/cpython/pull/139553/commits/d32ed52c667c876ef1dcbca43480a44d452430b7
d32ed52https://github.com/python/cpython/pull/139553/commits/d32ed52c667c876ef1dcbca43480a44d452430b7
https://github.com/aisk
Update generated fileshttps://github.com/python/cpython/pull/139553/commits/5d48d654b95bf3266b8dff83c7be3e2b952a9fcc
5d48d65https://github.com/python/cpython/pull/139553/commits/5d48d654b95bf3266b8dff83c7be3e2b952a9fcc
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Dec 23, 2025 https://github.com/python/cpython/pull/139553#pullrequestreview-3608495778
View reviewed changes https://github.com/python/cpython/pull/139553/files/5d48d654b95bf3266b8dff83c7be3e2b952a9fcc
Modules/mmapmodule.chttps://github.com/python/cpython/pull/139553/files/5d48d654b95bf3266b8dff83c7be3e2b952a9fcc#diff-4063fcfc98efaa9ba61a24ae3de730bbab4e8859152025da60db25a56fd6a646
Please reload this pagehttps://github.com/python/cpython/pull/139553
Lib/test/test_mmap.pyhttps://github.com/python/cpython/pull/139553/files/5d48d654b95bf3266b8dff83c7be3e2b952a9fcc#diff-72134ea902824c38771f083192b3f7e3cee6d53476fee0fdc5c25b95421b7cdb
Please reload this pagehttps://github.com/python/cpython/pull/139553
Lib/test/test_mmap.pyhttps://github.com/python/cpython/pull/139553/files/5d48d654b95bf3266b8dff83c7be3e2b952a9fcc#diff-72134ea902824c38771f083192b3f7e3cee6d53476fee0fdc5c25b95421b7cdb
Please reload this pagehttps://github.com/python/cpython/pull/139553
aiskhttps://github.com/aisk
December 24, 2025 01:02https://github.com/python/cpython/pull/139553#commits-pushed-1706484
https://github.com/aisk
https://github.com/vstinner
Apply suggestions from code reviewhttps://github.com/python/cpython/pull/139553/commits/170648410bb9d4624dc4c1424c3d9f4992b20c10
1706484https://github.com/python/cpython/pull/139553/commits/170648410bb9d4624dc4c1424c3d9f4992b20c10
https://github.com/aisk
Add the missing blank line after resolve a merge conflicthttps://github.com/python/cpython/pull/139553/commits/d7907933dd5edf70acd553682bed3b30ea1e9936
d790793https://github.com/python/cpython/pull/139553/commits/d7907933dd5edf70acd553682bed3b30ea1e9936
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Dec 24, 2025 https://github.com/python/cpython/pull/139553#pullrequestreview-3610764062
View reviewed changes https://github.com/python/cpython/pull/139553/files/d7907933dd5edf70acd553682bed3b30ea1e9936
vstinnerhttps://github.com/vstinner
https://github.com/python/cpython/pull/139553#pullrequestreview-3610764062
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/139553
Doc/library/mmap.rsthttps://github.com/python/cpython/pull/139553/files/d7907933dd5edf70acd553682bed3b30ea1e9936#diff-5cedeb0b4eaf66fbabf04499d0af4c6734cfcfc4585b908544049c596ffba149
Please reload this pagehttps://github.com/python/cpython/pull/139553
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
Dec 24, 2025https://github.com/python/cpython/pull/139553#event-21740807770
https://github.com/aisk
https://github.com/vstinner
Update Doc/library/mmap.rsthttps://github.com/python/cpython/pull/139553/commits/a471614bf8057dc9c8b0ac997efa530db984775f
a471614https://github.com/python/cpython/pull/139553/commits/a471614bf8057dc9c8b0ac997efa530db984775f
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Dec 27, 2025https://github.com/python/cpython/pull/139553#issuecomment-3693876962
Please reload this pagehttps://github.com/python/cpython/pull/139553
https://github.com/aisk
Update generated fileshttps://github.com/python/cpython/pull/139553/commits/586fe8a74b7e9e90a0162f085c132c2122fe8364
586fe8ahttps://github.com/python/cpython/pull/139553/commits/586fe8a74b7e9e90a0162f085c132c2122fe8364
https://github.com/aisk
aiskhttps://github.com/aisk
Dec 27, 2025https://github.com/python/cpython/pull/139553#issuecomment-3693881393
@vstinnerhttps://github.com/vstinner
Please reload this pagehttps://github.com/python/cpython/pull/139553
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
December 27, 2025 10:10https://github.com/python/cpython/pull/139553#event-21765084425
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
1af21eahttps://github.com/python/cpython/commit/1af21ea32043ad5bd4eaacd48a1718d4e0bef945
Dec 27, 2025https://github.com/python/cpython/pull/139553#event-21765148436
Please reload this pagehttps://github.com/python/cpython/pull/139553
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
Dec 27, 2025https://github.com/python/cpython/pull/139553#event-21765148574
https://github.com/aisk
aiskhttps://github.com/aisk
December 27, 2025 10:45https://github.com/python/cpython/pull/139553#event-21765177316
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Dec 27, 2025https://github.com/python/cpython/pull/139553#issuecomment-3694104007
https://buildbot.python.org/#/builders/1232/builds/7610https://buildbot.python.org/#/builders/1232/builds/7610
Please reload this pagehttps://github.com/python/cpython/pull/139553
picnixzhttps://github.com/picnixz
Jan 1, 2026 https://github.com/python/cpython/pull/139553#ref-commit-422ca07
https://github.com/picnixz
Amend NEWS entries for PRshttps://github.com/python/cpython/commit/422ca074bc80a1d570d2599f733b8d8a748abf66
GH-139553https://github.com/python/cpython/pull/139553
andhttps://github.com/python/cpython/commit/422ca074bc80a1d570d2599f733b8d8a748abf66
GH-142790https://github.com/python/cpython/pull/142790
(https://github.com/python/cpython/commit/422ca074bc80a1d570d2599f733b8d8a748abf66
#143329https://github.com/python/cpython/pull/143329
)https://github.com/python/cpython/commit/422ca074bc80a1d570d2599f733b8d8a748abf66
422ca07https://github.com/python/cpython/commit/422ca074bc80a1d570d2599f733b8d8a748abf66
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Jan 7, 2026https://github.com/python/cpython/pull/139553#issuecomment-3719050488
https://buildbot.python.org/#/builders/1232/builds/7610https://buildbot.python.org/#/builders/1232/builds/7610
#143230https://github.com/python/cpython/pull/143230
Please reload this pagehttps://github.com/python/cpython/pull/139553
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%2F139553
https://github.com/vstinner
vstinner https://github.com/vstinner
https://github.com/python/cpython/pull/139553/files/d7907933dd5edf70acd553682bed3b30ea1e9936
Please reload this pagehttps://github.com/python/cpython/pull/139553
https://github.com/aisk
https://github.com/vstinner
https://github.com/picnixz
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.