KotlinIsland / KotlinIsland/basedmypy

add `__bool__` overloads to `builtins` types

Open
#804 0 comments 0 reactions 0 assignees View on GitHub
good first issue typeshed
Dominant language
Python
Stars
202
Forks
6
PR merge metrics
No merged PRs in 30d

Description

`int`, `str`, `bool`, `tuple`

tuple will be easy, but the `True` overloads on the rest are impossible

Contributor guide

Open the contributing guide

Research direction

The issue names `int`, `str`, `bool`, and `tuple` and requests `__bool__` overloads for these builtins. Start by locating the builtins type definitions and the checker tests for overload behavior; done requires a defined, testable treatment of the stated impossible `True` overloads.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.