Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #111996 > unrolled thread
| Started by | Malcolm Greene <python@bdurham.com> |
|---|---|
| First post | 2016-07-28 17:28 -0400 |
| Last post | 2016-07-28 17:28 -0400 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: Behavior of tempfile temp files when scripts killed, interpreter crashes, server crashes? Malcolm Greene <python@bdurham.com> - 2016-07-28 17:28 -0400
| From | Malcolm Greene <python@bdurham.com> |
|---|---|
| Date | 2016-07-28 17:28 -0400 |
| Subject | Re: Behavior of tempfile temp files when scripts killed, interpreter crashes, server crashes? |
| Message-ID | <mailman.11.1469741327.6033.python-list@python.org> |
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 top | Article view | comp.lang.python
csiph-web