Steven D'Aprano wrote:

> But there can be a race condition between os.path.exists returning True
> and you trying to open the file, if some other process deletes or renames
> the file in the meantime.

if you'd used a threaded newsreader, you would have seen the code that 
"as follows" was referring to, and you would probably also have noticed 
that people have been pointing out the potential race problems several 
times already.

</F>

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to