KotlinIsland / KotlinIsland/basedmypy
error on class access to instance attribute
Open
- Dominant language
- Python
- Stars
- 202
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
```py
class A:
def __init__(self):
self.f = 1
print(A.f) # no error
```
HUUUHH?????
Contributor guide
Research direction
Reproduce the shown Python example with basedmypy and inspect how class access to the instance attribute f is handled. The issue does not name a source file or test, so first determine the expected diagnostic, then add regression coverage showing the intended result.
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
- 35/100