attribute is the underlying true file object. This file-like object can
be used in a :keyword:`with` statement, just like a normal file.
+ On POSIX (only), a process that is terminated abruptly with SIGKILL
+ cannot automatically delete any NamedTemporaryFiles it created.
+
.. audit-event:: tempfile.mkstemp fullpath tempfile.NamedTemporaryFile
.. versionchanged:: 3.8
Returns an object with a file-like interface; the name of the file
is accessible as its 'name' attribute. The file will be automatically
deleted when it is closed unless the 'delete' argument is set to False.
+
+ On POSIX, NamedTemporaryFiles cannot be automatically deleted if
+ the creating process is terminated abruptly with a SIGKILL signal.
+ Windows can delete the file even in this case.
"""
prefix, suffix, dir, output_type = _sanitize_params(prefix, suffix, dir)