Many pytype errors when importing classes from collections.abc
instead of typing
in typeshed
#1096
Labels
collections.abc
instead of typing
in typeshed
#1096
In python/typeshed#6688, I attempted to change the typeshed stubs to import objects from
collections.abc
instead oftyping
wherever possible. However, a number of errors were output by pytype if the typeshed stubs were changed to import certain objects fromcollections.abc
instead oftyping
. Most errors were related toSequence
,Callable
andIterable
. However, there were also a number of errors that were simplyAssertionError
, with no other explanation.Here is the full output of typeshed CI's pytype test, which can be found here . I would try to get a full stacktrace and/or narrow down the errors somewhat, but I'm on a Windows machine, so cannot run pytype, sadly:
The text was updated successfully, but these errors were encountered: