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.

作者 vstinner
收信人 ixokai, nadeem.vawda, ned.deily, neologix, pitrou, sdaoden, skrah, vstinner
日期 2011-04-19.10:43:03
SpamBayes Score 0.0068220696
Marked as misclassified
Message-id <1303209784.62.0.265192126594.issue11277@psf.upfronthosting.co.za>
In-reply-to
内容
Oh, fcntl has already a F_FULLFSYNC constant, so we can use like fcntl.fcntl(fd, fcntl.F_FULLFSYNC) in Python.

> can you add a sentence in mmap doc to explain that mmap.mmap()
> does flush the file on Mac OS X and VMS?

Hum, it does flush the file on VMS using fsync(), but on Mac OS X, it does just set F_FULLFSYNC flag using fcntl. It doesn't call fsync() explicitly. Does mmap() "call fsync()" implicitly?
历史
日期 用户 动作 参数
2011-04-19 10:43:04vstinner修改recipients: + vstinner, ixokai, pitrou, nadeem.vawda, ned.deily, skrah, neologix, sdaoden
2011-04-19 10:43:04vstinner修改messageid: <1303209784.62.0.265192126594.issue11277@psf.upfronthosting.co.za>
2011-04-19 10:43:04vstinner链接issue11277 messages
2011-04-19 10:43:04vstinner创建