ModuleFinder does not resolve ".." correctly
Open
Nobody has claimed this yet.
3.7 (EOL)
3.8 (EOL)
stdlib
type-bug
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 36k
- PR merge metrics
- PR metrics pending
Description
| BPO | 37796 |
|---|---|
| Nosy | @mkleehammer |
| 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 2019-08-09.00:02:55.522>
labels = ['3.7', '3.8', 'type-bug', 'library']
title = 'ModuleFinder does not resolve ".." correctly'
updated_at = <Date 2019-08-09.00:02:55.522>
user = 'https://github.com/mkleehammer'
bugs.python.org fields:
activity = <Date 2019-08-09.00:02:55.522>
actor = 'mkleehammer'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2019-08-09.00:02:55.522>
creator = 'mkleehammer'
dependencies = []
files = ['48535']
hgrepos = []
issue_num = 37796
keywords = []
message_count = 1.0
messages = ['349268']
nosy_count = 1.0
nosy_names = ['mkleehammer']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue37796'
versions = ['Python 3.7', 'Python 3.8']
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 by examining the attached test.tar.gz case and the ModuleFinder implementation in the CPython repository. Reproduce how a relative import using ".." is resolved, then add a regression test and verify that the test case resolves the expected module path.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100