[issue4928] tempfile.NamedTemporaryFile: automatic cleanup by OS

2021-05-17 Thread Catherine Devlin


Change by Catherine Devlin :


--
keywords: +patch
nosy: +Catherine.Devlin
nosy_count: 8.0 -> 9.0
pull_requests: +24815
stage: test needed -> patch review
pull_request: https://github.com/python/cpython/pull/26198

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4928] tempfile.NamedTemporaryFile: automatic cleanup by OS

2021-03-31 Thread Hunor Portik


Hunor Portik  added the comment:

Hello

I would really appreciate and I think many of us if every time I havent have to 
remember everything. Im not a Sys admin, devops, or who has in his mind every 
low level step and just shakes out of his little finger...
Why do I have to take care at the high level where I stand with using Python? I 
think  mustn't.

So yes, as just a little noticement would be really helpful for us to remember 
we should look forward if we want to make sure. That's why Im here, and not 
reading the docs instead...

--
nosy: +portikhun

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4928] tempfile.NamedTemporaryFile: automatic cleanup by OS

2021-03-04 Thread Eryk Sun


Change by Eryk Sun :


--
versions: +Python 3.10, Python 3.8, Python 3.9 -Python 2.7, Python 3.5, Python 
3.6

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4928] tempfile.NamedTemporaryFile: automatic cleanup by OS

2020-07-21 Thread Hugo


Hugo  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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue4928] tempfile.NamedTemporaryFile: automatic cleanup by OS

2017-03-27 Thread Martin Panter

Changes by Martin Panter :


--
title: Problem with tempfile.NamedTemporaryFile -> tempfile.NamedTemporaryFile: 
automatic cleanup by OS

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com