[issue45052] WithProcessesTestSharedMemory.test_shared_memory_basics fails on Windows

Eryk Sun report at bugs.python.org
Tue Aug 31 00:42:06 EDT 2021


Eryk Sun <eryksun at gmail.com> added the comment:

> It may be a bug in the constructor of SharedMemory. It ignores 
> the size argument on Windows.

The `size` argument is always ignored when `create` is false, on all platforms, not that I understand the reason for it. The difference compared to POSIX is that the size of a mapping that's backed by the paging file is rounded up to a multiple of the page size in Windows (e.g. 4 KiB).

----------
nosy: +eryksun

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45052>
_______________________________________


More information about the Python-bugs-list mailing list