Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #111996
| From | Malcolm Greene <python@bdurham.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Behavior of tempfile temp files when scripts killed, interpreter crashes, server crashes? |
| Date | 2016-07-28 17:28 -0400 |
| Message-ID | <mailman.11.1469741327.6033.python-list@python.org> (permalink) |
| References | <1469627937.3315162.678210321.47361EB5@webmail.messagingengine.com> <CACL+1asecygWaJ_D8Od_rDiFyH60Fz=2AnaLDEeevoB2OY1iWA@mail.gmail.com> <1469741325.1048784.679782009.23593089@webmail.messagingengine.com> |
Hi Eryk, Awesome! Thank you very much for your detailed answer!! Malcolm <snipped> Linux has the O_TMPFILE open() flag [1]. This creates an anonymous file that gets automatically deleted when the last open file descriptor is closed. If the file isn't opened O_EXCL, then you can make it permanent by linking it back into the filesystem. For example: ... </snipped>
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Behavior of tempfile temp files when scripts killed, interpreter crashes, server crashes? Malcolm Greene <python@bdurham.com> - 2016-07-28 17:28 -0400
csiph-web