This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients lzhao, vstinner
Date 2019-04-18.09:27:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1555579624.17.0.0221242534411.issue36648@roundup.psfhosted.org>
In-reply-to
Content
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?
History
Date User Action Args
2019-04-18 09:27:04vstinnersetrecipients: + vstinner, lzhao
2019-04-18 09:27:04vstinnersetmessageid: <1555579624.17.0.0221242534411.issue36648@roundup.psfhosted.org>
2019-04-18 09:27:04vstinnerlinkissue36648 messages
2019-04-18 09:27:04vstinnercreate