Skip to content

gh-79325: Fix recursion error in TemporaryDirectory cleanup on Windows - #112762

Merged
serhiy-storchaka merged 2 commits into
python:mainfrom
serhiy-storchaka:tempfile-used-dir
Dec 7, 2023
Merged

serhiy-storchaka merged 2 commits into
python:mainfrom
serhiy-storchaka:tempfile-used-dir

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Dec 5, 2023 •

Copy link
Copy Markdown
Member
@serhiy-storchaka

Copy link
Copy Markdown
Member Author

Based on idea of @eryksun.

@serhiy-storchaka
serhiy-storchaka enabled auto-merge (squash) December 7, 2023 16:31
@serhiy-storchaka
serhiy-storchaka merged commit b2923a6 into python:main Dec 7, 2023
@miss-islington-app

Copy link
Copy Markdown

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12.
🐍🍒⛏🤖

@miss-islington-app

Copy link
Copy Markdown

Sorry, @serhiy-storchaka, I could not cleanly backport this to 3.11 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker b2923a61a10dc2717f4662b590cc9f6d181c6983 3.11
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Dec 7, 2023
…Windows (pythonGH-112762)

(cherry picked from commit b2923a6)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-app

bedevere-app Bot commented Dec 7, 2023

Copy link
Copy Markdown

GH-112847 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.12 only security fixes label Dec 7, 2023
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull request Dec 7, 2023
…nup on Windows (pythonGH-112762)

(cherry picked from commit b2923a6)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-app

bedevere-app Bot commented Dec 7, 2023

Copy link
Copy Markdown

GH-112848 is a backport of this pull request to the 3.11 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.11 only security fixes label Dec 7, 2023
serhiy-storchaka added a commit that referenced this pull request Dec 7, 2023
… Windows (GH-112762) (GH-112847)

(cherry picked from commit b2923a6)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
serhiy-storchaka added a commit that referenced this pull request Dec 7, 2023
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
@serhiy-storchaka
serhiy-storchaka deleted the tempfile-used-dir branch July 1, 2026 16:51
@serhiy-storchaka serhiy-storchaka removed their assignment Jul 15, 2026
icanhasmath pushed a commit to ActiveState/cpython that referenced this pull request Oct 28, 2026
…nup on Windows (pythonGH-112762) (pythonGH-112848)

(cherry picked from commit b2923a6)
(cherry picked from commit a18201b)
icanhasmath pushed a commit to ActiveState/cpython that referenced this pull request Oct 28, 2026
…nup on Windows (pythonGH-112762) (pythonGH-112848)

(cherry picked from commit b2923a6)
(cherry picked from commit a18201b)
(cherry picked from commit ffb9ae4)

3.9.25.x: test uses support.change_cwd (3.9 has no test.support.os_helper).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

1 participant