-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
addressed in next versionIssue is fixed and will appear in next published versionIssue is fixed and will appear in next published versionbugSomething isn't workingSomething isn't working
Description
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.
Metadata
Metadata
Assignees
Labels
addressed in next versionIssue is fixed and will appear in next published versionIssue is fixed and will appear in next published versionbugSomething isn't workingSomething isn't working