Chary Chary added the comment:
Dear all, are there any plans to move this quite old issue forward?
I stumbled across this issue, because I found that at the moment there is no
out of the box solution to use tempfile.NamedTemporaryFile in Windows in such
scenario (which is often used in unit
Chary Chary added the comment:
Steve Dower, thanks for looking at this.
After reading the thread from my amature point of view I kind of liked
suggestion of Daniel Lenski to replace the binary delete argument of the
current NamedTemporaryFile implementation with finer-grained options
https
Chary Chary added the comment:
Why do we need to use this O_TEMPORARY flag at all?
I understand that we are using OS functionality, available on Windows, rather
than implementing it in Python. But why doing this, if we already do this for
none-nt systems in Python any way?
Doesn't it
Chary Chary added the comment:
I am not sure, this is the correct place to ask this "educational" question,
but I will do this any way:
where is this O_TEMPORARY flag defined?
if I looks at
[tempfile.py](https://github.com/python/cpython/blob/3ff6975e2c0af0399467f234b2e307cc76