Removing Popen log files in threads is racy on Windows
Open
Nobody has claimed this yet.
OS-windows
type-bug
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- PR merge metrics
- PR metrics pending
Description
| BPO | 33369 |
|---|---|
| Nosy | @pfmoore, @tjguk, @pbos, @zware, @zooba |
| 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 2018-04-26.22:40:56.117>
labels = ['type-bug', 'OS-windows']
title = 'Removing Popen log files in threads is racy on Windows'
updated_at = <Date 2018-04-27.16:56:30.455>
user = 'https://github.com/pbos'
bugs.python.org fields:
activity = <Date 2018-04-27.16:56:30.455>
actor = 'pbos'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Windows']
creation = <Date 2018-04-26.22:40:56.117>
creator = 'pbos'
dependencies = []
files = ['47552']
hgrepos = []
issue_num = 33369
keywords = []
message_count = 3.0
messages = ['315822', '315825', '315850']
nosy_count = 5.0
nosy_names = ['paul.moore', 'tim.golden', 'pbos', 'zach.ware', 'steve.dower']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue33369'
versions = ['Python 2.7']
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 linked racy_windows.py reproduction script and the Popen behavior described in the title. Reproduce the Windows race involving removal of Popen log files from threads, then trace the relevant CPython implementation and determine what behavior must change. Done means the race is addressed without regressing the affected Python 2.7 behavior.
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
- Needs clarification
- Newbie friendliness
- 25/100