os.chdir(), os.getcwd() may crash on Windows in presence of races
Open
Nobody has claimed this yet.
3.7 (EOL)
extension-modules
OS-windows
type-crash
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- PR merge metrics
- PR metrics pending
Description
| BPO | 32904 |
|---|---|
| Nosy | @pfmoore, @vstinner, @tjguk, @zware, @zooba, @izbyshev |
| 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 2018-02-22.01:00:15.765>
labels = ['extension-modules', '3.7', 'OS-windows', 'type-crash']
title = 'os.chdir(), os.getcwd() may crash on Windows in presence of races'
updated_at = <Date 2018-02-22.02:23:26.517>
user = 'https://github.com/izbyshev'
bugs.python.org fields:
activity = <Date 2018-02-22.02:23:26.517>
actor = 'izbyshev'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Extension Modules', 'Windows']
creation = <Date 2018-02-22.01:00:15.765>
creator = 'izbyshev'
dependencies = []
files = []
hgrepos = []
issue_num = 32904
keywords = ['patch']
message_count = 2.0
messages = ['312524', '312527']
nosy_count = 6.0
nosy_names = ['paul.moore', 'vstinner', 'tim.golden', 'zach.ware', 'steve.dower', 'izbyshev']
pr_nums = ['5802']
priority = 'normal'
resolution = None
stage = 'patch review'
status = 'open'
superseder = None
type = 'crash'
url = 'https://bugs.python.org/issue32904'
versions = ['Python 2.7', 'Python 3.6', 'Python 3.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
Read the linked python/cpython#5802 and the BPO-32904 record first; the issue names os.chdir() and os.getcwd() and identifies Windows race conditions but no source files or tests. Done means resolving the crash scenario while preserving the affected APIs, with relevant Windows race behavior covered by verification.
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
- 20/100