tempfile mkstemp() leaks file descriptors if os.close() is not called
Open
Nobody has claimed this yet.
3.8 (EOL)
docs
stdlib
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- PR merge metrics
- PR metrics pending
Description
| BPO | 42830 |
|---|---|
| Nosy | @srinivasreddy, @akulakov, @StillSubjectToChange |
| PRs |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee = None
closed_at = None
created_at = <Date 2021-01-05.11:28:47.432>
labels = ['3.8', 'library', 'performance']
title = 'tempfile mkstemp() leaks file descriptors if os.close() is not called'
updated_at = <Date 2021-07-09.20:49:19.364>
user = 'https://bugs.python.org/mieczyslawtorchala'
bugs.python.org fields:
activity = <Date 2021-07-09.20:49:19.364>
actor = 'andrei.avk'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2021-01-05.11:28:47.432>
creator = 'mieczyslaw.torchala'
dependencies = []
files = []
hgrepos = []
issue_num = 42830
keywords = ['patch']
message_count = 8.0
messages = ['384384', '385850', '385898', '397180', '397185', '397209', '397218', '397221']
nosy_count = 4.0
nosy_names = ['thatiparthy', 'andrei.avk', 'mieczyslaw.torchala', 'StillSubjectToChange']
pr_nums = ['27075']
priority = 'normal'
resolution = None
stage = 'patch review'
status = 'open'
superseder = None
type = 'resource usage'
url = 'https://bugs.python.org/issue42830'
versions = ['Python 3.8']
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
Start by reviewing tempfile.mkstemp(), the interaction with os.close(), and PR #27075. Confirm the intended file-descriptor ownership and use the existing issue discussion and pull request to determine the accepted behavior and completion criteria.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100