Skip to content

Sync typeshed #11200

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 26, 2021
Merged

Sync typeshed #11200

merged 2 commits into from
Sep 26, 2021

Conversation

hauntsaninja
Copy link
Collaborator

Source commit:
python/typeshed@a9227ed

@github-actions

This comment has been minimized.

@github-actions
Copy link
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

pip (https://github.com/pypa/pip.git)
+ src/pip/_internal/commands/debug.py:50: error: unused "type: ignore" comment

sphinx (https://github.com/sphinx-doc/sphinx.git)
+ sphinx/util/inspect.py:686: error: unused "type: ignore" comment
+ sphinx/util/inspect.py: note: In function "signature_from_ast":
+ sphinx/util/inspect.py:818:27: error: Incompatible types in assignment (expression has type "DefaultValue", variable has type "_empty")
+ sphinx/util/inspect.py:828:23: error: Incompatible types in assignment (expression has type "DefaultValue", variable has type "_empty")

aioredis (https://github.com/aio-libs/aioredis.git)
- aioredis/client.py:3401: error: Incompatible types in assignment (expression has type "KeysView[Any]", variable has type "Union[Sequence[Union[bytes, str, memoryview]], Mapping[bytes, float]]")
+ aioredis/client.py:3401: error: Incompatible types in assignment (expression has type "_dict_keys[Any, Any]", variable has type "Union[Sequence[Union[bytes, str, memoryview]], Mapping[bytes, float]]")
- aioredis/client.py:3401: error: Incompatible types in assignment (expression has type "KeysView[Any]", variable has type "Union[Sequence[Union[bytes, str, memoryview]], Mapping[str, float]]")
+ aioredis/client.py:3401: error: Incompatible types in assignment (expression has type "_dict_keys[Any, Any]", variable has type "Union[Sequence[Union[bytes, str, memoryview]], Mapping[str, float]]")
- aioredis/client.py:3401: error: Incompatible types in assignment (expression has type "KeysView[Any]", variable has type "Union[Sequence[Union[bytes, str, memoryview]], Mapping[memoryview, float]]")
+ aioredis/client.py:3401: error: Incompatible types in assignment (expression has type "_dict_keys[Any, Any]", variable has type "Union[Sequence[Union[bytes, str, memoryview]], Mapping[memoryview, float]]")

pytest (https://github.com/pytest-dev/pytest.git)
+ src/_pytest/main.py:481: note:     def __init__(self, iterable: Iterable[List[str]]) -> _bestrelpath_cache
- testing/test_pastebin.py:101: error: Argument 4 to "HTTPError" has incompatible type "Dict[<nothing>, <nothing>]"; expected "Message"  [arg-type]
+ testing/test_pastebin.py:101: note: (Skipping most remaining errors due to unresolved imports or missing stubs; fix these first)
- testing/test_config.py:422: note: (Skipping most remaining errors due to unresolved imports or missing stubs; fix these first)

@hauntsaninja hauntsaninja merged commit d469295 into python:master Sep 26, 2021
@hauntsaninja hauntsaninja deleted the sync branch September 26, 2021 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant