Skip to content

asyncio: fix for py311 #7314

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

Closed
wants to merge 1 commit into from
Closed

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