Xiang Zhang <angwe...@126.com> added the comment:

One thing to note is the behaviour seems fit implementation detail. POSIX 
doesn't requires this for both mmap and msync, it's optional:

The mmap( ) function may fail if:
[EINVAL] The addr argument (if MAP_FIXED was specified) or off is not a 
multiple of the page size as returned

The msync( ) function may fail if:
[EINVAL] The value of addr is not a multiple of the page size as returned by 
sysconf( ).

----------
nosy: +berker.peksag, pablogsal, xiang.zhang

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32798>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to