gh-87595: Support mmap.size() for anonymous mapping on Unix (GH-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. Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Z
Zackery Spytz committed
32032ee376fe20670e9a35e56beff48e59201261
Parent: e4e2390
Committed by GitHub <noreply@github.com>
on 9/2/2025, 8:24:06 PM