Describe the bug
As announced in https://discuss.python.org/t/removing-type-checker-internals-from-typeshed/87960, we plan to (re)move type-checker-special internals from typeshed. @erictraut actually did the necessary changes in #10437.
But when trying to remove typing._TypedDict from typeshed in python/typeshed#14960, pyright starts to report errors like this for all TypedDicts:
/home/runner/work/typeshed/typeshed/stdlib/_ssl.pyi
/home/runner/work/typeshed/typeshed/stdlib/_ssl.pyi:24:7 - error: All base classes for TypedDict classes must also be TypedDict classes
Class "TypedDict" is not a TypedDict (reportGeneralTypeIssues)
/home/runner/work/typeshed/typeshed/stdlib/_ssl.pyi:38:7 - error: All base classes for TypedDict classes must also be TypedDict classes
So it seems that there is some lingering issue in pyright.
Describe the bug
As announced in https://discuss.python.org/t/removing-type-checker-internals-from-typeshed/87960, we plan to (re)move type-checker-special internals from typeshed. @erictraut actually did the necessary changes in #10437.
But when trying to remove
typing._TypedDictfrom typeshed in python/typeshed#14960, pyright starts to report errors like this for allTypedDicts:So it seems that there is some lingering issue in pyright.