Sebastian Rittau
Sebastian Rittau
@rchen152 Does pytype support PEP 612? If not, would you mind me creating a ticket that we can reference from here?
Cc @sproshev
Could we just cheat and derive `ParamSpec` from `Any` in `typing_extensions`, until type checkers add support? That said, I'm also fine to just start using `ParamSpec` and use `# type:...
`ParamSpec` can now be used in argument and return type positions, although `# type: ignore` is necessary. It's still untested whether it works as part of a `Generic` class.
mypy still seems to have problems with `Concatenate` in `Callable`, see #5682.
Now partly supported by mypy, no support for `Concatenate` yet.
I checkmarked pytype. While it doesn't support `ParamSpec` per se, it accepts it.
I think we can now use ParamSpec without limitations in typeshed.
Sure, if there are semantic differences, we should add them back.
I agree that this is confusing an error prone. In the last few years we tend to align stubs as closely to the implementation as possible. In this case, I...