Skip to content

gh-89696: Fix loop.sock_connect docs on address resolution#153651

Merged
kumaraditya303 merged 1 commit into
python:mainfrom
kumaraditya303:gh-89696-sock-connect-docs
Jul 13, 2026
Merged

gh-89696: Fix loop.sock_connect docs on address resolution#153651
kumaraditya303 merged 1 commit into
python:mainfrom
kumaraditya303:gh-89696-sock-connect-docs

Conversation

@kumaraditya303

@kumaraditya303 kumaraditya303 commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

The docs claimed unconditionally that the address no longer needs to be
resolved, but only SelectorEventLoop does that. ProactorEventLoop, the
default event loop on Windows, passes the address straight to ConnectEx()
and WSAConnect(), which parse it with WSAStringToAddress() and therefore
only accept numeric addresses.
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #33561236 | 📁 Comparing b23159e against main (adebb68)

  🔍 Preview build  

1 file changed
± library/asyncio-eventloop.html

@kumaraditya303 kumaraditya303 merged commit 1fece44 into python:main Jul 13, 2026
46 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Jul 13, 2026
@miss-islington-app

Copy link
Copy Markdown

Thanks @kumaraditya303 for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14, 3.15.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

@bedevere-app

bedevere-app Bot commented Jul 13, 2026

Copy link
Copy Markdown

GH-153652 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Jul 13, 2026
@bedevere-app

bedevere-app Bot commented Jul 13, 2026

Copy link
Copy Markdown

GH-153653 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Jul 13, 2026
@bedevere-app

bedevere-app Bot commented Jul 13, 2026

Copy link
Copy Markdown

GH-153654 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label Jul 13, 2026
kumaraditya303 added a commit that referenced this pull request Jul 13, 2026
…H-153651) (#153652)

gh-89696: Fix `loop.sock_connect` docs on address resolution (GH-153651)
(cherry picked from commit 1fece44)

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
kumaraditya303 added a commit that referenced this pull request Jul 13, 2026
…H-153651) (#153653)

gh-89696: Fix `loop.sock_connect` docs on address resolution (GH-153651)
(cherry picked from commit 1fece44)

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
kumaraditya303 added a commit that referenced this pull request Jul 13, 2026
…H-153651) (#153654)

gh-89696: Fix `loop.sock_connect` docs on address resolution (GH-153651)
(cherry picked from commit 1fece44)

Co-authored-by: Kumar Aditya <kumaraditya@python.org>
@kumaraditya303 kumaraditya303 deleted the gh-89696-sock-connect-docs branch July 13, 2026 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news topic-asyncio

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

loop.sock_connect doesn't resolve the address parameter on Windows

1 participant