[Buildbot-devel] Some questions/problems running latest build bot source on Windows

Tommi Virtanen tv at tv.debian.net
Sat Nov 13 09:25:49 UTC 2004


Brian Warner wrote:
>>PS. os.rename isn't safe on NFS, you really should use os.link.
> What is the recommended pattern? Something like this?:
> 
>  open(tmpfile,"w").write(stuff)
>  os.link(file, tmpfile)
>  os.unlink(tmpfile)

That plus some :)

The maildir format is useful as a guide.

http://www.dataloss.nl/docs/maildir/
http://www.qmail.org/qmail-manual-html/man5/maildir.html

I've been meaning to write up a really careful delivery
mechanism in python, but it's quite a lot of work to test
one well.




More information about the devel mailing list