[Python-Dev] Warn about mktemp once again? (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Wed May 7 00:23:07 CEST 2008


Tristan Seligmann wrote:

The correct way to do this is to create a temporary directory, and then generate a filename underneath that directory to use.

Yes, otherwise you can get bitten by the race condition that's the reason for mktemp being deprecated.

-- Greg



More information about the Python-Dev mailing list