subprocess.Popen should not emit a ResourceWarning for a detached process
Open
Nobody has claimed this yet.
3.10
3.8 (EOL)
3.9 (EOL)
OS-windows
stdlib
topic-subprocess
type-bug
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- PR merge metrics
- PR metrics pending
Description
| BPO | 38890 |
|---|---|
| Nosy | @gpshead, @pfmoore, @tjguk, @zware, @eryksun, @zooba, @ShaneHarvey |
| Files |
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 2019-11-22.00:04:09.952>
labels = ['type-bug', '3.8', '3.9', '3.10', 'library', 'OS-windows']
title = 'subprocess.Popen should not emit a ResourceWarning for a detached process'
updated_at = <Date 2021-03-20.23:05:48.367>
user = 'https://github.com/ShaneHarvey'
bugs.python.org fields:
activity = <Date 2021-03-20.23:05:48.367>
actor = 'gregory.p.smith'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)', 'Windows']
creation = <Date 2019-11-22.00:04:09.952>
creator = 'ShaneHarvey'
dependencies = []
files = ['48738']
hgrepos = []
issue_num = 38890
keywords = []
message_count = 6.0
messages = ['357237', '357451', '357455', '357458', '388906', '389196']
nosy_count = 8.0
nosy_names = ['gregory.p.smith', 'paul.moore', 'tim.golden', 'zach.ware', 'eryksun', 'steve.dower', 'behackett', 'ShaneHarvey']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue38890'
versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']
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 with the attached test_daemon_win.py and the subprocess.Popen behavior for detached processes on Windows. Reproduce the ResourceWarning, then determine the expected no-warning behavior and add regression coverage in the relevant test file.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100