Skip to content

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

Merged
hugovk merged 3 commits into
python:mainfrom
anthonycabreralara:fix-issue-151138
Aug 24, 2026
Merged

gh-151138: Update Windows temp directory locations in tempfile.rst#151210
hugovk merged 3 commits into
python:mainfrom
anthonycabreralara:fix-issue-151138

Conversation

@anthonycabreralara

Copy link
Copy Markdown
Contributor

gh-151138: Add %USERPROFILE%\AppData\Local\Temp and %SYSTEMROOT%\Temp to the Windows temp directory locations documented in tempfile.rst.

@python-cla-bot

python-cla-bot Bot commented Jun 9, 2026

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

CLA signed

@read-the-docs-community

read-the-docs-community Bot commented Jun 9, 2026

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #33067785 | 📁 Comparing 394e995 against main (5804991)

  🔍 Preview build  

2 files changed
± library/tempfile.html
± whatsnew/changelog.html

Comment thread Doc/library/tempfile.rst Outdated
#. A platform-specific location:

* On Windows, the directories :file:`C:\\TEMP`, :file:`C:\\TMP`,
* On Windows, the directories :file:`%USERPROFILE%\\AppData\\Local\\Temp`, :file:`%SYSTEMROOT%\\Temp`, :file:`C:\\TEMP`, :file:`C:\\TMP`,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this line is nearly 131 chars, we should try to limit that to 80 if we can for readability in docs

:)

Comment thread Doc/library/tempfile.rst Outdated
@aisk aisk added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes needs backport to 3.15 pre-release feature fixes, bugs and security fixes labels Aug 24, 2026
@hugovk
hugovk merged commit 9cbd578 into python:main Aug 24, 2026
43 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Aug 24, 2026
@miss-islington-app

Copy link
Copy Markdown

Thanks @anthonycabreralara for the PR, and @hugovk for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

@bedevere-app

bedevere-app Bot commented Aug 24, 2026

Copy link
Copy Markdown

GH-156306 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Aug 24, 2026
@bedevere-app

bedevere-app Bot commented Aug 24, 2026

Copy link
Copy Markdown

GH-156307 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Aug 24, 2026
@bedevere-app

bedevere-app Bot commented Aug 24, 2026

Copy link
Copy Markdown

GH-156308 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label Aug 24, 2026
hugovk pushed a commit that referenced this pull request Aug 24, 2026
….rst (GH-151210) (#156308)

gh-151138: Update Windows temp directory locations in tempfile.rst (GH-151210)
(cherry picked from commit 9cbd578)

Co-authored-by: Anthony Cabrera-Lara <anthonycabreralara@gmail.com>
hugovk pushed a commit that referenced this pull request Aug 24, 2026
….rst (GH-151210) (#156306)

gh-151138: Update Windows temp directory locations in tempfile.rst (GH-151210)
(cherry picked from commit 9cbd578)

Co-authored-by: Anthony Cabrera-Lara <anthonycabreralara@gmail.com>
hugovk pushed a commit that referenced this pull request Aug 24, 2026
….rst (GH-151210) (#156307)

gh-151138: Update Windows temp directory locations in tempfile.rst (GH-151210)
(cherry picked from commit 9cbd578)

Co-authored-by: Anthony Cabrera-Lara <anthonycabreralara@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

5 participants