gh-78502: Add a trackfd parameter to mmap.mmap() on Windows by serhiy-storchaka · Pull Request #138238 · python/cpython

@serhiy-storchaka

If trackfd is False, the file handle corresponding to fileno
will not be duplicated.

@serhiy-storchaka

If trackfd is False, the file handle corresponding to fileno
will not be duplicated.

@serhiy-storchaka serhiy-storchaka changed the title gh-78502: AAdd a trackfd parameter to mmap.mmap() on Windows gh-78502: Add a trackfd parameter to mmap.mmap() on Windows

Aug 29, 2025

zooba

@serhiy-storchaka

@serhiy-storchaka

vstinner

@serhiy-storchaka

Co-authored-by: Victor Stinner <vstinner@python.org>

@serhiy-storchaka

lkollar pushed a commit to lkollar/cpython that referenced this pull request

Sep 9, 2025
…thonGH-138238)

If trackfd is False, the file handle corresponding to fileno
will not be duplicated.