Le 10/11/15 06:58, Garrett D'Amore a écrit : > I wonder if this depends on the version of Python in use. Also the changes > to reuse files may be significant. Posix says files are synced to disk at > close time. If the files are not closed then what actually makes sure the > content is written to disk? >
My feeling is the same, flush() or worst case disabling buffering if justified is the only sane and safe way. I'm not suggesting that there is an issue in illumos, but I'm real curious as to why Oracle states that S12 doesn't experience the issue. Not sure what version of python S12 uses, but I use 2.6 (native omnios) and 2.7 (my prefered version in pkgsrc). From what ixquick finds for me, python 3 probably behaves identically (and should, reasonably). -- Richard PALO ------------------------------------------- illumos-discuss Archives: https://www.listbox.com/member/archive/182180/=now RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be Modify Your Subscription: https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4 Powered by Listbox: http://www.listbox.com
