[Python-checkins] bpo-34429: Noted TemporaryFile behavior on non-Posix/non-Cygwin systems (GH-31547)

miss-islington webhook-mailer at python.org
Fri Feb 25 06:30:36 EST 2022


https://github.com/python/cpython/commit/632a8121d4d577541c3fddffc986bcb8d8d545b6
commit: 632a8121d4d577541c3fddffc986bcb8d8d545b6
branch: 3.10
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2022-02-25T03:30:31-08:00
summary:

bpo-34429: Noted TemporaryFile behavior on non-Posix/non-Cygwin systems (GH-31547)

(cherry picked from commit 53ecf9e08d35801807daf74492c090a325f995b7)

Co-authored-by: slateny <46876382+slateny at users.noreply.github.com>

files:
M Doc/library/tempfile.rst

diff --git a/Doc/library/tempfile.rst b/Doc/library/tempfile.rst
index b8a5fa0027ffb..6b23a1bcd630b 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



More information about the Python-checkins mailing list