Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[3.14] gh-87595: Support mmap.size() for anonymous mapping on Unix (GH-24781)#138404

Closed
miss-islington wants to merge 1 commit into
python:3.14python/cpython:3.14from
miss-islington:backport-32032ee-3.14miss-islington/cpython:backport-32032ee-3.14Copy head branch name to clipboard
Closed

[3.14] gh-87595: Support mmap.size() for anonymous mapping on Unix (GH-24781)#138404
miss-islington wants to merge 1 commit into
python:3.14python/cpython:3.14from
miss-islington:backport-32032ee-3.14miss-islington/cpython:backport-32032ee-3.14Copy head branch name to clipboard

Conversation

@miss-islington

@miss-islington miss-islington commented Sep 2, 2025

Copy link
Copy Markdown
Contributor

Previously, the size would be returned on Windows and an OSError would
be raised on Unix.

Also, raise ValueError instead of OSError for trackfd=False.
(cherry picked from commit 32032ee)

Co-authored-by: Zackery Spytz zspytz@gmail.com
Co-authored-by: Serhiy Storchaka storchaka@gmail.com


📚 Documentation preview 📚: https://cpython-previews--138404.org.readthedocs.build/

…thonGH-24781)

Previously, the size would be returned on Windows and an OSError would
be raised on Unix.

Also, raise ValueError instead of OSError for trackfd=False.
(cherry picked from commit 32032ee)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.