KotlinIsland / KotlinIsland/basedmypy
basedmypy doesnt understand that overloads are named
Open
bug
- Dominant language
- Python
- Stars
- 202
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Description
```py
from typing import overload
class Foo:
@overload
def f(self, x: int): ...
@overload
def f(self, x: str): ...
def f(self, x: object): ...
Foo().f.__name__
```
Contributor guide
Research direction
Start by running the provided Python snippet through basedmypy and capture the diagnostic for Foo().f.__name__. Trace the handling of overloaded methods from that entry point; the issue is done when the checker correctly understands the overloaded method's name without reporting the demonstrated problem.
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
- Mostly clear
- Newbie friendliness
- 45/100