[Python-Dev] os.unlink() closes file?

Neal Becker ndbecker2 at gmail.com
Fri Sep 29 14:20:48 CEST 2006


It seems (I haven't looked at source) that os.unlink() will close the file?

If so, please make this optional.  It breaks the unix idiom for making a
temporary file.

(Yes, I know there is a tempfile module, but I need some behavior it doesn't
implement so I want to do it myself).




More information about the Python-Dev mailing list