giovanni bajo ethabdevelercom 4292008 218 pm nick coghlan wrote fact good reason mkstemp return fd except backward compatibility except backwards compatibility good reason keep osmkstemp greg ewings usecase one ive also times ie convenience function creating somewhat temporary file randomly named persists beyond closing file function doesnt stay os doesnt make difference though 26 gregs use case addressed new delete parameter tempfilenamedtemporaryfile personally dont objection removal osmkstemp since common pattern use create temporary file atomically replace files create named temporary file directory file want replace write data close move posix move rename silent overwrite destination file afaik allows atomic file replacemente filesystems believe common useful pattern could handled module tmpfile especially since final rename step requires little care truly multiplatform giovanni bajo develer srl httpwwwdevelercom _______________________________________________ pythondev mailing list zvlllneumpythonorg httpmailpythonorgmailmanlistinfopythondev unsubscribe httpmailpythonorgmailmanoptionspythondevpythondev40tangomucom fri 08 aug 2008 052950 0200 pythondev warn mktemp