Skip to content

Conversation

@agronholm
Copy link
Contributor

The types should match socket.getaddrinfo().

@github-actions
Copy link
Contributor

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

anyio (https://github.com/agronholm/anyio)
+ src/anyio/_backends/_asyncio.py:1571: error: Unused "type: ignore" comment

@AlexWaygood AlexWaygood merged commit 3a8d121 into python:master Mar 20, 2022
@agronholm agronholm deleted the fix-getaddrinfo-host branch March 20, 2022 13:18
@agronholm
Copy link
Contributor Author

Thanks!

AlexWaygood added a commit that referenced this pull request Mar 20, 2022
As pointed out by @srittau in #7517, `bytearray` [is redundant](https://docs.python.org/3/library/typing.html#typing.ByteString) in a union where `bytes` is also in the union.
AlexWaygood added a commit that referenced this pull request Mar 20, 2022
As pointed out by @srittau in #7517, `bytearray` [is redundant](https://docs.python.org/3/library/typing.html#typing.ByteString) in a union where `bytes` is also in the union.
srittau pushed a commit to srittau/typeshed that referenced this pull request Mar 21, 2022
As pointed out by @srittau in python#7517, `bytearray` [is redundant](https://docs.python.org/3/library/typing.html#typing.ByteString) in a union where `bytes` is also in the union.
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.

3 participants