os.scandir() Windows bug dir_entry.stat() not works on file during writing.
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python
- Domain
- operating-systems
Research direction
Start with the uploaded reproducers s03_dir_entry.py and inspect the os.scandir() and DirEntry.stat() behavior they exercise on Windows while a file is being written. Reproduce the failure first; done means the reported stat() failure is resolved and the behavior is covered by an appropriate regression test.
Written by the indexing model from the issue text.
Description
| BPO | 41106 |
|---|---|
| Nosy | @pfmoore, @tjguk, @zware, @eryksun, @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 2020-06-24.16:55:03.506>
labels = ['3.9', '3.10', 'OS-windows', 'type-crash', 'docs']
title = 'os.scandir() Windows bug dir_entry.stat() not works on file during writing.'
updated_at = <Date 2020-07-01.16:18:23.133>
user = 'https://bugs.python.org/CezaryWagner'
bugs.python.org fields:
activity = <Date 2020-07-01.16:18:23.133>
actor = 'eryksun'
assignee = 'docs@python'
closed = False
closed_date = None
closer = None
components = ['Documentation', 'Windows']
creation = <Date 2020-06-24.16:55:03.506>
creator = 'Cezary.Wagner'
dependencies = []
files = ['49259', '49260']
hgrepos = []
issue_num = 41106
keywords = []
message_count = 17.0
messages = ['372264', '372266', '372269', '372273', '372281', '372283', '372354', '372355', '372359', '372389', '372393', '372404', '372430', '372432', '372434', '372748', '372763']
nosy_count = 7.0
nosy_names = ['paul.moore', 'tim.golden', 'docs@python', 'zach.ware', 'eryksun', 'steve.dower', 'Cezary.Wagner']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'crash'
url = 'https://bugs.python.org/issue41106'
versions = ['Python 3.9', 'Python 3.10']
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 558
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.
More from python/cpython
-
docs pending
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
stdlib type-feature
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
stdlib type-feature
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
build type-bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
stdlib topic-email type-feature
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
🐛 Bug 🔔 Pending processing
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
jumpserver/jumpserver#17584 ·