STINNER Victor <[email protected]> added the comment:
I don't understand why PR 12394 modifies flags afterwards, whereas "m =
mmap.mmap(-1, 100)" doesn't specify explicitly flags. So the bug looks to be
default flags set by Python, no?
int flags = MAP_SHARED;
...
if (!PyArg_ParseTupleAndKeywords(args, kwdict, "in|iii" _Py_PARSE_OFF_T,
keywords,
&fd, &map_size, &flags, &prot,
&access, &offset))
Is MAP_SHARED constant available in C on VxWorks?
Is mmap.MAP_SHARED constant available in Python on VxWorks?
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue36648>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com