On Thu, Mar 12, 2009 at 08:25:59PM +0000, Antoine Pitrou wrote:
> However, I also think that any parameter to flush() or close() is a bad idea,
> since it can't be used when flushing and closing is implicit. For example when
> the file is used in a "with" statement.

I think the existing os.fsync() and O_SYNC functionality is fine for
new applications and packages to write data securely or not.  We
should just consider whether the stdlib APIs don't make it impossible
to write data securely, e.g. dumbdbm's internal file object, and if
so, is it worth fixing?

--amk
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to