On Friday, September 29, 2006, at 02:22PM, Neal Becker <[EMAIL PROTECTED]> wrote:
>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). On what platform? Do you have a script that demonstrates your problem? If yes, please file a bug in the bugtracker at http://www.sf.net/projects/python. AFAIK os.unlink doesn't close files, and I cannot reproduce this problem (python2.3 on Solaris 9). Ronald _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com