python-trio / python-trio/trio
[Question] What is the best way to create temp files and directories?
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 7.3k
- Forks
- 431
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 6
Description
Normally I would use tempfile module.
But I was wondering if there's an async (trio compatible) alternative.
Thanks in advance
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue mentions Python's tempfile module and asks whether Trio has an async-compatible alternative. Start by reviewing the tempfile documentation and Trio's documented file-I/O guidance; done would be a clear answer identifying the recommended approach, or a scoped feature request if no suitable alternative exists.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100