-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
gh-51574: Make tempfile.mkdtemp() always return absolute paths #94612
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
kj7rrv
commented
Jul 6, 2022
•
edited by AlexWaygood
Loading
edited by AlexWaygood
- Issue: tempfile.mkdtemp() does not return absolute pathname when relative dir is specified #51574
I tested the test both with and without the fix, and it passes with the fix and fails without it. |
Co-authored-by: Éric <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes here are sound.
Misc/NEWS.d/next/Library/2022-07-06-11-10-37.gh-issue-51574.sveUeD.rst
Outdated
Show resolved
Hide resolved
…eUeD.rst Suggested by @merwok Co-authored-by: Éric <[email protected]>
@ambv I have taken a look at this and all seems to be in good order. Can this be moved forward? |
Merging |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @kj7rrv! This looks good to me. I'll merge once CI passes.
This will just go into 3.12, as there is a small chance of this breaking someone's code if this were backported.
Thank you @AlexWaygood , and congratulations @kj7rrv ! |
…ython#94612) Co-authored-by: Éric <[email protected]> Co-authored-by: AlexWaygood <[email protected]>