-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
stubs: improvementImprove/refactor existing annotations, other stubs issuesImprove/refactor existing annotations, other stubs issues
Description
At the moment, collections.abc
types are strict aliases for their typing counterparts. This can make it difficult for intellisense providers to distinguish them and suggest the correct one. @erictraut mentioned that for pyright
: microsoft/pylance-release#1001 (comment).
Although this would likely be a lot of code duplication in the short term, I propose to copy the type definitions to the _collections_abc.pyi
module guarded by sys.version_info >= (3, 9)
.
KotlinIsland and nyoma-diamond
Metadata
Metadata
Assignees
Labels
stubs: improvementImprove/refactor existing annotations, other stubs issuesImprove/refactor existing annotations, other stubs issues