bpo-40915: Fix mmap resize bugs on Windows (GH-29213)
(original patch by eryksun) Correctly hand various failure modes when resizing an mmap on Windows: * Resizing a pagefile-backed mmap now creates a new mmap and copies data * Attempting to resize when another mapping is held on the same file raises an OSError * Attempting to resize a nametagged mmap raises an OSError if another mapping is held with the same nametag
T
Tim Golden committed
aea5ecc458084e01534ea6a11f4181f369869082
Parent: b5ee794
Committed by GitHub <noreply@github.com>
on 10/26/2021, 9:56:43 PM