Skip to content

gh-63016: Add flags parameter on mmap.flush - #139553

Merged
vstinner merged 11 commits into
python:mainfrom
aisk:mmap-flush-flags
Dec 27, 2025
Merged

gh-63016: Add flags parameter on mmap.flush#139553
vstinner merged 11 commits into
python:mainfrom
aisk:mmap-flush-flags

Conversation

@aisk

@aisk aisk commented Oct 4, 2025

Copy link
Copy Markdown
Member
@aisk

aisk commented Oct 4, 2025

Copy link
Copy Markdown
Member Author

I noticed a PR #139237 to migrate the mmap module to use AC. We should wait for it to be merged before continue the work.

@aisk
aisk marked this pull request as draft October 4, 2025 12:26
@aisk
aisk marked this pull request as ready for review October 11, 2025 13:00
@aisk

aisk commented Oct 11, 2025

Copy link
Copy Markdown
Member Author

Since #139237 was merged, I rebased the branch and now it's ready for review.

Comment thread Modules/mmapmodule.c
Comment thread Lib/test/test_mmap.py Outdated
Comment thread Lib/test/test_mmap.py

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Please just update the doc (see my comment).

Comment thread Doc/library/mmap.rst Outdated
Co-authored-by: Victor Stinner <vstinner@python.org>
@vstinner

Copy link
Copy Markdown
Member

Oh, you have to run make clinic to update Argument Clinic.

@aisk

aisk commented Dec 27, 2025

Copy link
Copy Markdown
Member Author

@vstinner Sorry I forgot check the CI status, updated!

@vstinner
vstinner enabled auto-merge (squash) December 27, 2025 10:10
@vstinner
vstinner merged commit 1af21ea into python:main Dec 27, 2025
46 checks passed
@aisk
aisk deleted the mmap-flush-flags branch December 27, 2025 10:45
@picnixz

picnixz commented Dec 27, 2025

Copy link
Copy Markdown
Member
@vstinner

vstinner commented Jan 7, 2026

Copy link
Copy Markdown
Member

This broke some build bots: https://buildbot.python.org/#/builders/1232/builds/7610

It has been fixed by #143230.

thunder-coding pushed a commit to thunder-coding/cpython that referenced this pull request Feb 15, 2026
Co-authored-by: Victor Stinner <vstinner@python.org>
thunder-coding pushed a commit to thunder-coding/cpython that referenced this pull request Feb 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants