[issue4928] Problem with tempfile.NamedTemporaryFile
Antoine Pitrou
report at bugs.python.org
Wed Jul 7 23:39:43 CEST 2010
Antoine Pitrou <pitrou at free.fr> added the comment:
> Where does it say that they are supposed to be deleted when the process > is killed,
Well, it is more of a "natural expectation" I guess.
> and what mechanism specifically is supposed to actually perform the
> deletion?
That's not the kind of questions users ask themselves.
If the process shutdown is greatful, either __del__ or a weakref callback is adequate. We probably can't do anything for brutal killings, though.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4928>
_______________________________________
More information about the Python-bugs-list
mailing list