remove unneeded handling of '.' and '..' from patlib.Path.iterdir()
Open
Nobody has claimed this yet.
stdlib
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- PR merge metrics
- PR metrics pending
Description
| BPO | 41141 |
|---|---|
| Nosy | @sir-sigurd |
| 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 2020-06-27.13:07:24.566>
labels = ['library']
title = "remove unneeded handling of '.' and '..' from patlib.Path.iterdir()"
updated_at = <Date 2020-06-27.13:09:15.962>
user = 'https://github.com/sir-sigurd'
bugs.python.org fields:
activity = <Date 2020-06-27.13:09:15.962>
actor = 'sir-sigurd'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2020-06-27.13:07:24.566>
creator = 'sir-sigurd'
dependencies = []
files = []
hgrepos = []
issue_num = 41141
keywords = ['patch']
message_count = 1.0
messages = ['372465']
nosy_count = 1.0
nosy_names = ['sir-sigurd']
pr_nums = ['21179']
priority = 'normal'
resolution = None
stage = 'patch review'
status = 'open'
superseder = None
type = None
url = 'https://bugs.python.org/issue41141'
versions = []
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 at pathlib.Path.iterdir and inspect how the method handles '.' and '..'. Confirm the behavior is unnecessary, then run the relevant pathlib tests and ensure the existing iteration behavior remains covered.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Refactor
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100