Martin Panter added the comment:

I am surprised at the report that Red Hat Linux automatically removed the file. 
What system calls are involved? On my Arch Linux setup with current 3.6 code it 
leaves the file behind (same as the Solaris report).

However the the Windows version does automatically deleting the file once all 
file handles are closed:

# Setting O_TEMPORARY in the flags causes the OS to delete
# the file when it is closed.  This is only supported by Windows.

Perhaps this behaviour should be documented.

----------
nosy: +martin.panter

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue4928>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to