Skip to content

[mmap] Allow None for mmap.flush in Python 3.14 - #16284

Merged
srittau merged 1 commit into
python:mainfrom
donbarbos:mmap-allowNone
Aug 22, 2026
Merged

[mmap] Allow None for mmap.flush in Python 3.14#16284
srittau merged 1 commit into
python:mainfrom
donbarbos:mmap-allowNone

Conversation

@donbarbos

Copy link
Copy Markdown
Contributor

At runtime, size accepts None from 3.14.1 through 3.14.7 (the latest 3.14 release), and only accepts -1 starting with 3.15.0.

At runtime, `size` accepts `None` from `3.14.1` through `3.14.7`
(the latest `3.14` release), and only accepts `-1` starting with `3.15.0`.
@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@srittau
srittau merged commit 87e90bf into python:main Aug 22, 2026
88 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants