Skip to content
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

TemporaryFile(): Handle one more case correctly #10284

Merged
merged 8 commits into from
Jun 14, 2023

Conversation

srittau
Copy link
Collaborator

@srittau srittau commented Jun 8, 2023

Also add tests.

@srittau
Copy link
Collaborator Author

srittau commented Jun 8, 2023

I verified the test types against runtime.

stdlib/tempfile.pyi Outdated Show resolved Hide resolved
@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@srittau
Copy link
Collaborator Author

srittau commented Jun 14, 2023

Could I ping this again? Seems like a simple enough fix and is a prerequisite for deciding what to do with #10229.

@JelleZijlstra JelleZijlstra merged commit 5f9d05c into python:main Jun 14, 2023
@srittau srittau deleted the tempfile-ret2 branch June 14, 2023 12:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants