Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #111996 > unrolled thread

Re: Behavior of tempfile temp files when scripts killed, interpreter crashes, server crashes?

Started byMalcolm Greene <python@bdurham.com>
First post2016-07-28 17:28 -0400
Last post2016-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.


Contents

  Re: Behavior of tempfile temp files when scripts killed, interpreter crashes, server crashes? Malcolm Greene <python@bdurham.com> - 2016-07-28 17:28 -0400

#111996 — Re: Behavior of tempfile temp files when scripts killed, interpreter crashes, server crashes?

FromMalcolm Greene <python@bdurham.com>
Date2016-07-28 17:28 -0400
SubjectRe: 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>

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web