How secure are temp files created via tempfile.TemporaryFile()?

python at python at
Fri Feb 19 05:19:41 CET 2010


Thank you very much for your wonderful reply!! 

I had read the Fine Manual, but as you pointed out the documentation
only mentions visibility of file names.

> Exclusive locks are advisory, not mandatory, on some operating systems, so you can't rely on it. 

That comment and your list of OS specific behaviors were EXACTLY the
type of information I was looking for.

Thanks again!

More information about the Python-list mailing list