os.path.samefile incorrect results for shadow copies
Open
Nobody has claimed this yet.
3.10
3.11
3.9 (EOL)
OS-windows
type-bug
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- PR merge metrics
- PR metrics pending
Description
| BPO | 46763 |
|---|---|
| Nosy | @pfmoore, @tjguk, @zware, @eryksun, @zooba, @nijave |
| 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 2022-02-16.01:45:13.546>
labels = ['3.10', 'type-bug', '3.9', 'OS-windows', '3.11']
title = 'os.path.samefile incorrect results for shadow copies'
updated_at = <Date 2022-02-17.04:52:54.777>
user = 'https://github.com/nijave'
bugs.python.org fields:
activity = <Date 2022-02-17.04:52:54.777>
actor = 'eryksun'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Windows']
creation = <Date 2022-02-16.01:45:13.546>
creator = 'nijave'
dependencies = []
files = ['50626']
hgrepos = []
issue_num = 46763
keywords = []
message_count = 4.0
messages = ['413307', '413309', '413331', '413385']
nosy_count = 6.0
nosy_names = ['paul.moore', 'tim.golden', 'zach.ware', 'eryksun', 'steve.dower', 'nijave']
pr_nums = []
priority = 'normal'
resolution = None
stage = 'needs patch'
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue46763'
versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']
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 shadow-repro.py and reproduce the incorrect os.path.samefile results on Windows shadow copies. Trace the Windows implementation of os.path.samefile and identify where the reported paths are compared; done means the reproduction produces correct results and the behavior is covered by an appropriate regression test.
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
- 35/100