Lumír Balhar <frenzy.madn...@gmail.com> added the comment:

I understand, thanks for the explanation.

I'd like to improve the documentation to make it more clear that the file 
actually can be reopened on Windows when you use delete=False but I cannot find 
the right words :/

What about:

That name can be retrieved from the name attribute of the returned file-like 
object. If delete is true (the default), the file is deleted as soon as it is 
closed. Whether the name can be used to open the file a second time, while the 
named temporary file is still open with delete set to true, varies across 
platforms (it can be so used on Unix; it cannot on Windows NT or later).

----------

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

Reply via email to