Message189325
+ # Flush Python buffers to system buffers
+ fileobj.flush()
+
+ if hasattr(os, 'fsync'):
+ # Flush system buffers to disk
+ fd = fileobj.fileno()
+ os.fsync(fd)
A fsync=True paramater may be added if calling os.fsync() is an issue. |
|
Date |
User |
Action |
Args |
2013-05-15 23:35:12 | vstinner | set | recipients:
+ vstinner, loewis, barry, exarkun, ncoghlan, pitrou, eric.smith, giampaolo.rodola, tarek, eric.araujo, olemis, meatballhat, milko.krachounov, neologix, martin.panter |
2013-05-15 23:35:11 | vstinner | set | messageid: <1368660911.98.0.41820968276.issue8604@psf.upfronthosting.co.za> |
2013-05-15 23:35:11 | vstinner | link | issue8604 messages |
2013-05-15 23:35:11 | vstinner | create | |
|