Skip to content

using a ParamSpec as a base type causes crash #11218

Closed
@KotlinIsland

Description

@KotlinIsland
from typing import ParamSpec

P = ParamSpec("P")

class MyFunction(P):
    ...
test.py:5: error: INTERNAL ERROR -- Please try using mypy master on Github:
https://mypy.readthedocs.io/en/stable/common_issues.html#using-a-development-mypy-build
If this issue continues with mypy master, please report a bug at https://github.com/python/mypy/issues
version: 0.920+dev.febec7123c839fce87815dbe847266596f985d72

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions