Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[3.11] gh-51574: Document behaviour ofmkdtemp on 3.11 and lower#103844

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
JelleZijlstra merged 2 commits intopython:3.11fromAlexWaygood:mkdtemp-docs-311
Apr 27, 2023

Conversation

AlexWaygood
Copy link
Member

A bug has been fixed in 3.12 wheremkdtemp does not return an absolute path if a relative path is supplied to thedir argument (#94612). However, the bugfix is not suitable to be backported, meaning the bug will not be fixed in the 3.11 branch and lower.

We should note the existing behaviour in the docs for the 3.11 branch, so that users are not misinformed about what will happen when the function is called.

Closes#51574

@kj7rrv
Copy link
Contributor

In the docs for 3.12, should we add "Changed in version 3.12: the return value is always an absolute path, even if dir is relative"? Would that be a separate PR?

@AlexWaygood
Copy link
MemberAuthor

AlexWaygood commentedApr 25, 2023
edited
Loading

In the docs for 3.12, should we add "Changed in version 3.12: the return value is always an absolute path, even if dir is relative"? Would that be a separate PR?

The note has already been added to the docs for 3.12 as part of#94612: seehttps://github.com/python/cpython/pull/94612/files#diff-cd9226095497c724772acabf76ce71e39ae2d6ae5cee2a27c9ba22ac541b2f1eR295-R297

The online docs have yet to be updated; they're built every few hours, I think.

kj7rrv and gpshead reacted with thumbs up emoji

@JelleZijlstraJelleZijlstra merged commitd20758c intopython:3.11Apr 27, 2023
@AlexWaygoodAlexWaygood deleted the mkdtemp-docs-311 branchApril 27, 2023 16:27
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@JelleZijlstraJelleZijlstraJelleZijlstra approved these changes

@gpsheadgpsheadAwaiting requested review from gpshead

@merwokmerwokAwaiting requested review from merwok

Assignees
No one assigned
Labels
3.11only security fixesdocsDocumentation in the Doc dirskip news
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@AlexWaygood@kj7rrv@JelleZijlstra@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp