Skip to content

Conversation

@hauntsaninja
Copy link
Collaborator

BaseEventLoop was updated, but incompatible with AbstractEventLoop

BaseEventLoop was updated, but incompatible with AbstractEventLoop
@github-actions
Copy link
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

family: int = ...,
proto: int = ...,
flags: int = ...,
reuse_port: bool | None = ...,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On freshly pulled cpython's main branch, I get:

akuli@akuli-desktop:~/sourcestuff/cpython$ grep -A4 'def create_datagram_endpoint' Lib/asyncio/events.py 
    async def create_datagram_endpoint(self, protocol_factory,
                                       local_addr=None, remote_addr=None, *,
                                       family=0, proto=0, flags=0,
                                       reuse_address=None, reuse_port=None,
                                       allow_broadcast=None, sock=None):

So it seems like reuse_address was not removed. Am I missing something?

@hauntsaninja hauntsaninja marked this pull request as draft February 21, 2022 01:30
@AlexWaygood
Copy link
Member

I think this has been superseded by #7389

@hauntsaninja hauntsaninja marked this pull request as ready for review February 27, 2022 20:51
@hauntsaninja hauntsaninja deleted the asyn branch February 27, 2022 20:51
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