Skip to content

Conversation

@mbyrnepr2
Copy link
Contributor

@mbyrnepr2 mbyrnepr2 commented Jan 15, 2026

gh-79459: Sanitize the prefix and suffix parameters to the tempfile functions:

  • tempfile.mkdtemp.
  • tempfile.mkstemp.
  • tempfile.NamedTemporaryFile.

📚 Documentation preview 📚: https://cpython-previews--143889.org.readthedocs.build/

…the `tempfile` functions:

- `tempfile.mkdtemp`.
- `tempfile.mkstemp`.
- `tempfile.NamedTemporaryFile`.
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.

1 participant