[Python-ideas] Add create mode to open()
tjreedy at udel.edu
Wed Aug 17 19:19:04 CEST 2011
On 8/16/2011 11:49 PM, Benjamin Peterson wrote:
> If you truly want to avoid all filesystem race conditions, you're going to be
> dealing with file descriptors and low-level syscalls galore. Moving one aspect
> to a higher level is not too helpful on the whole.
Perhaps we need a HOW-TO on working with files that discusses
special-case needs and solutions that use os, tempfile, etc alternatives
to builtin open.
Terry Jan Reedy
More information about the Python-ideas