Skip to content

bpo-34429: Noted TemporaryFile behavior on non-Posix/non-Cygwin systems#31547

Merged
iritkatriel merged 2 commits into
python:mainfrom
slateny:s/tempfile
Feb 25, 2022
Merged

bpo-34429: Noted TemporaryFile behavior on non-Posix/non-Cygwin systems#31547
iritkatriel merged 2 commits into
python:mainfrom
slateny:s/tempfile

Conversation

@slateny
Copy link
Copy Markdown
Contributor

@slateny slateny commented Feb 24, 2022

I applied the suggested wording, but is it be accurate to say TemporaryFile 'behaves exactly like' NamedTemporaryFile? Saying 'behaves exactly like' seems to imply that TemporaryFile is an imitation of sorts, while the implementation of TemporaryFile = NamedTemporaryFile would appear to make them completely identical

https://bugs.python.org/issue34429

@iritkatriel
Copy link
Copy Markdown
Member

I agree, how about ‘is an alias for’?

Comment thread Doc/library/tempfile.rst Outdated
Co-authored-by: Irit Katriel <1055913+iritkatriel@users.noreply.github.com>
@miss-islington
Copy link
Copy Markdown
Contributor

Thanks @slateny for the PR, and @iritkatriel for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9, 3.10.
🐍🍒⛏🤖

@bedevere-bot
Copy link
Copy Markdown

GH-31567 is a backport of this pull request to the 3.10 branch.

@bedevere-bot
Copy link
Copy Markdown

GH-31568 is a backport of this pull request to the 3.9 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 25, 2022
…ms (pythonGH-31547)

(cherry picked from commit 53ecf9e)

Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Feb 25, 2022
…ms (pythonGH-31547)

(cherry picked from commit 53ecf9e)

Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
miss-islington added a commit that referenced this pull request Feb 25, 2022
…ms (GH-31547)

(cherry picked from commit 53ecf9e)

Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
miss-islington added a commit that referenced this pull request Feb 25, 2022
…ms (GH-31547)

(cherry picked from commit 53ecf9e)

Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
@slateny slateny deleted the s/tempfile branch February 26, 2022 01:59
hello-adam pushed a commit to hello-adam/cpython that referenced this pull request Jun 2, 2022
…ms (pythonGH-31547)

(cherry picked from commit 53ecf9e)

Co-authored-by: slateny <46876382+slateny@users.noreply.github.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

None yet

Development

Successfully merging this pull request may close these issues.

6 participants