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 rfm
Recipients rfm
Date 2013-10-30.05:25:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1383110724.21.0.406666508799.issue19444@psf.upfronthosting.co.za>
In-reply-to
Content
I should add a caveat: the fd that is created by mmap /will/ be set to close-on-exec if the fd you passed in was. But even if it's not, I see no reason why mmap should not be setting it anyway.

At the very least, the documentation should bring the user's attention to this potential stumbling block. Currently it makes no mention of the fact that mmap duplicates file descriptors at all, much less how the flags are set.
History
Date User Action Args
2013-10-30 05:25:24rfmsetrecipients: + rfm
2013-10-30 05:25:24rfmsetmessageid: <1383110724.21.0.406666508799.issue19444@psf.upfronthosting.co.za>
2013-10-30 05:25:24rfmlinkissue19444 messages
2013-10-30 05:25:23rfmcreate