https://github.com/python/cpython/commit/9cbd578e38a5ef59f9462b61d1e03338b208cba6
commit: 9cbd578e38a5ef59f9462b61d1e03338b208cba6
branch: main
author: Anthony Cabrera-Lara <[email protected]>
committer: hugovk <[email protected]>
date: 2026-08-24T16:13:15+09:00
summary:

gh-151138: Update Windows temp directory locations in tempfile.rst (#151210)

files:
M Doc/library/tempfile.rst

diff --git a/Doc/library/tempfile.rst b/Doc/library/tempfile.rst
index 9b89cb92594ea61..316d82775cf626e 100644
--- a/Doc/library/tempfile.rst
+++ b/Doc/library/tempfile.rst
@@ -348,8 +348,11 @@ The module defines the following user-callable items:
 
    #. A platform-specific location:
 
-      * On Windows, the directories :file:`C:\\TEMP`, :file:`C:\\TMP`,
-        :file:`\\TEMP`, and :file:`\\TMP`, in that order.
+      * On Windows, the directories
+        :file:`%USERPROFILE%\\AppData\\Local\\Temp`,
+        :file:`%SYSTEMROOT%\\Temp`, :file:`C:\\TEMP`,
+        :file:`C:\\TMP`, :file:`\\TEMP`, and
+        :file:`\\TMP`, in that order.
 
       * On all other platforms, the directories :file:`/tmp`, 
:file:`/var/tmp`, and
         :file:`/usr/tmp`, in that order.

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to