Charles-François Natali added the comment: > You can use file locks to be protected against such race condition. > See for example:
Those are advisory locks, not mandatory locks. It's possible to do some mandatory locking on some systems, but on every file, and it's not portable. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16212> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com