Comments (1)
Just for reference, this is likely due to #16942.
from mypy.
Related Issues (20)
- Use of `Annotated[T, ...]` in a recursive type results in a segmentation fault
- wrongly reported typing error in `min` with `key` lambda function and default value when result is Optional
- Literal[β¨enumβ©] not callable even if enum is callable
- `int` inconsistently considered a subtype of `float` HOT 2
- Subclass using `@dataclass(order=True)` have unavoidable "not using `@override`" error for `__lt__` etc, with `--enable-error-code=explicit-override`
- `name-defined` error lets Mypy forget `TypedDict` was wrapped in `Unpack`
- mypy should fail if the first element of the type has the same name as the variable
- [numpy] mypy does not raise `type-var` when `NDArray` with incompatible dtype is used as a generic.
- `__eq__` methods disable narrowing in the `else` block
- match narrowing fails when the operand is an `await` expression
- Slow typechecking on nested TypedDict with union members HOT 1
- Attempted to reuse member name in Enum definition
- Segmentation fault with recursive type
- Call `tuple` on a known length `tuple[int, int]` would lose its length HOT 2
- Set and Dict generalizing the type unnecessarily
- Unpacking doesn't do proper type narrowing
- Support `Unpack` with `dict` for keyword arguments: `**kwargs: Unpack[dict[Literal["test"], ...]]` HOT 5
- Dataclasses: `No overload variant of "asdict" matches argument type "Self" [call-overload]` when deciding decorator conditionally
- Feature Request: a secondary error for overrides based on compatibility
- Mypy handling initializing Pydantic models with dict values incorrectly HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mypy.