From: slateny <46876382+slateny@users.noreply.github.com> Date: Fri, 25 Feb 2022 11:07:52 +0000 (-0800) Subject: bpo-34429: Noted TemporaryFile behavior on non-Posix/non-Cygwin systems (GH-31547) X-Git-Tag: v3.11.0a6~94 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=53ecf9e08d35801807daf74492c090a325f995b7;p=thirdparty%2FPython%2Fcpython.git bpo-34429: Noted TemporaryFile behavior on non-Posix/non-Cygwin systems (GH-31547) --- diff --git a/Doc/library/tempfile.rst b/Doc/library/tempfile.rst index 3e904d04642d..3184e5048842 100644 --- a/Doc/library/tempfile.rst +++ b/Doc/library/tempfile.rst @@ -62,6 +62,9 @@ The module defines the following user-callable items: The :py:data:`os.O_TMPFILE` flag is used if it is available and works (Linux-specific, requires Linux kernel 3.11 or later). + On platforms that are neither Posix nor Cygwin, TemporaryFile is an alias + for NamedTemporaryFile. + .. audit-event:: tempfile.mkstemp fullpath tempfile.TemporaryFile .. versionchanged:: 3.5