Hugo <h...@barrera.io> added the comment:

It would seem that the main issue here lies in the documentation not being  
obvious enough for some of us. If you're familiar with lower level OS APIs, it 
might be clear, but as an app developer, some things slip by.

The key difference is that TemporaryFile will be erased properly (at least on 
Linux) even if the process gets a SIGKILL, while NamedTemporaryFile will linger 
(which fills up my disk every few weeks/months).

As an application developer, this difference is super important to me (I hope 
I'm not the only one). Would a PR that mentions this explicitly in the docs be 
an acceptable solution here?

----------
nosy: +WhyNotHugo

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://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