Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
There is also similar bug in Generic: >>> from typing import * >>> T = TypeVar("T") >>> P = ParamSpec("P") >>> class X(Generic[T, P]): ... f: Callable[P, int] ... x: T ... >>> P_2 = ParamSpec("P_2") >>> X[int, P_2, str] __main__.X[int, ~P_2] ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue44796> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com