Skip to content

(🐞) No error with disallow-any-generics and type #12301

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
KotlinIsland opened this issue Mar 7, 2022 · 0 comments
Open

(🐞) No error with disallow-any-generics and type #12301

KotlinIsland opened this issue Mar 7, 2022 · 0 comments
Labels
bug mypy got something wrong topic-pep-585 PEP 585 (builtin generics)

Comments

@KotlinIsland
Copy link
Contributor

KotlinIsland commented Mar 7, 2022

d: dict  # error
l: list  # error
s: set  # error
t: type  # no error

https://mypy-play.net/?mypy=latest&python=3.10&flags=disallow-any-generics&gist=9bb896250b5e40e0b9cbf0234d46281e

One of the causes of: #12300

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug mypy got something wrong topic-pep-585 PEP 585 (builtin generics)
Projects
None yet
Development

No branches or pull requests

2 participants