How to safely maintain a status file

Chris Angelico rosuav at
Fri Jul 13 04:12:01 CEST 2012

On Fri, Jul 13, 2012 at 11:20 AM, Rick Johnson
<rantingrickjohnson at> wrote:
> On Jul 12, 2:39 pm, Christian Heimes <li... at> wrote:
>> Windows's file system layer is not POSIX compatible. For example
>> you can't remove or replace a file while it is opened by a process.
> Sounds like a reasonable fail-safe to me.

POSIX says that files and file names are independent. I can open a
file based on its name, delete the file based on its name, and still
have the open file there. When it's closed, it'll be wiped from the


More information about the Python-list mailing list