Skip to content

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

Merged
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:eaddrnotavail_asyncio
Jan 22, 2024
Merged

gh-75128: Ignore EADDRNOTAVAIL error in asyncio.BaseEventLoop.create_server()#114420
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:eaddrnotavail_asyncio

Conversation

@serhiy-storchaka

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

Copy link
Copy Markdown
Member

…reate_server()

Co-authored-by: Antoine Pitrou <pitrou@free.fr>
@serhiy-storchaka

Copy link
Copy Markdown
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
Copy Markdown

🤖 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

pitrou commented Jan 22, 2024

Copy link
Copy Markdown
Member

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
Copy Markdown
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.

@gvanrossum gvanrossum left a comment

Copy link
Copy Markdown
Member

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
Copy Markdown
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
Copy Markdown

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 <storchaka@gmail.com>
Co-authored-by: Antoine Pitrou <pitrou@free.fr>
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 <storchaka@gmail.com>
Co-authored-by: Antoine Pitrou <pitrou@free.fr>
@bedevere-app

bedevere-app Bot commented Jan 22, 2024

Copy link
Copy Markdown

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

bedevere-app Bot commented Jan 22, 2024

Copy link
Copy Markdown

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 <storchaka@gmail.com>
Co-authored-by: Antoine Pitrou <pitrou@free.fr>
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 <storchaka@gmail.com>
Co-authored-by: Antoine Pitrou <pitrou@free.fr>
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
…reate_server() (pythonGH-114420)

Co-authored-by: Antoine Pitrou <pitrou@free.fr>
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
…reate_server() (pythonGH-114420)

Co-authored-by: Antoine Pitrou <pitrou@free.fr>
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