Skip to content

gh-75128: Ignore EADDRNOTAVAIL error in asyncio.BaseEventLoop.create_server() #114420

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

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchaka serhiy-storchaka commented Jan 22, 2024

@serhiy-storchaka
Copy link
Member Author

It is actually a 6.5 years old patch by @pitrou which was not yet merged perhaps due to oversight.

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @serhiy-storchaka for commit 0c836ae 🤖

The command will test the builders whose names match following regular expression: AMD64 Arch Linux

The builders matched are:

  • AMD64 Arch Linux Asan PR
  • AMD64 Arch Linux TraceRefs PR
  • AMD64 Arch Linux Asan Debug PR
  • AMD64 Arch Linux Usan PR
  • AMD64 Arch Linux VintageParser PR
  • AMD64 Arch Linux Perf PR

@pitrou
Copy link
Member

pitrou commented Jan 22, 2024

Well I lost track of this and I haven't done any network programming in a long time, so I don't feel qualified to review this anymore, sorry :-(

@serhiy-storchaka
Copy link
Member Author

The change looks reasonable to me, it got positive feedback in the issue, and it fixes the remaining failures on buildbots. So I'm going to merge it.

Copy link
Member

@gvanrossum gvanrossum left a comment

Choose a reason for hiding this comment

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

LGTM, thanks! Make sure to add Antoine in a Co-Authored-By header.

@serhiy-storchaka
Copy link
Member Author

LGTM, thanks! Make sure to add Antoine in a Co-Authored-By header.

Yes, of course, it is Antoine's patch. I only added one line (log warning only in debugging, as in other cases) and a NEWS entry. The patch was good from the start and did not need a correction.

@serhiy-storchaka serhiy-storchaka merged commit a53e56e into python:main Jan 22, 2024
@miss-islington-app
Copy link

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12.
🐍🍒⛏🤖

@serhiy-storchaka serhiy-storchaka deleted the eaddrnotavail_asyncio branch January 22, 2024 16:40
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 22, 2024
…reate_server() (pythonGH-114420)

(cherry picked from commit a53e56e)

Co-authored-by: Serhiy Storchaka <[email protected]>
Co-authored-by: Antoine Pitrou <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jan 22, 2024
…reate_server() (pythonGH-114420)

(cherry picked from commit a53e56e)

Co-authored-by: Serhiy Storchaka <[email protected]>
Co-authored-by: Antoine Pitrou <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Jan 22, 2024

GH-114441 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.12 only security fixes label Jan 22, 2024
@bedevere-app
Copy link

bedevere-app bot commented Jan 22, 2024

GH-114442 is a backport of this pull request to the 3.11 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.11 only security fixes label Jan 22, 2024
serhiy-storchaka added a commit that referenced this pull request Jan 22, 2024
…create_server() (GH-114420) (GH-114441)

(cherry picked from commit a53e56e)

Co-authored-by: Serhiy Storchaka <[email protected]>
Co-authored-by: Antoine Pitrou <[email protected]>
serhiy-storchaka added a commit that referenced this pull request Jan 22, 2024
…create_server() (GH-114420) (GH-114442)

(cherry picked from commit a53e56e)

Co-authored-by: Serhiy Storchaka <[email protected]>
Co-authored-by: Antoine Pitrou <[email protected]>
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
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.

4 participants