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 sdaoden
Recipients nadeem.vawda, neologix, pitrou, ronaldoussoren, sdaoden, vstinner
Date 2011-04-20.20:38:00
SpamBayes Score 6.3155895e-08
Marked as misclassified No
Message-id <20110420203749.GA55302@sherwood.local>
In-reply-to
Content
Ronald Oussoren wrote:
> Adding the F_FULLSYNC option to os.fsync would be fine though

To show you that i'm not unteachable i'll attach a patch which
does that.
This approach can be heavily extended, then, e.g. by using
sync_file_range(all_the_flags) on Linux if the "full_fsync"
argument is true?!  (And then there is sync_file_range2() on
PowerPC and nice ARM...)

(The first time that i use PyArg_xy plus plus - please review.
test_os is ok and using "os.fsync(xy, True)" makes test_zlib
succeed on unpatched hg checkout.
os.rst change is really ugly.)
Files
File name Uploaded
11877.optarg-1.diff sdaoden, 2011-04-20.20:38:00
History
Date User Action Args
2011-04-20 20:38:01sdaodensetrecipients: + sdaoden, ronaldoussoren, pitrou, vstinner, nadeem.vawda, neologix
2011-04-20 20:38:00sdaodenlinkissue11877 messages
2011-04-20 20:38:00sdaodencreate