Skip to content

gh-161763: Correct SSL docs for unconnected client sockets - #161772

Merged
gpshead merged 2 commits into
python:mainfrom
notatallshaw:docs/ssl-unconnected-client-20261110
Nov 12, 2026
Merged

gpshead merged 2 commits into
python:mainfrom
notatallshaw:docs/ssl-unconnected-client-20261110

Conversation

@notatallshaw

Copy link
Copy Markdown
Contributor

The custom-context client example wraps an unconnected socket, so ssock.version() returns None. Connect the socket before printing the version, and clarify that connect() creates the underlying SSL object.

@read-the-docs-community

read-the-docs-community Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #35793382 | 📁 Comparing c883649 against main (44ff6c9)

  🔍 Preview build  

1 file changed
± library/ssl.html

@gpshead gpshead added needs backport to 3.14 bugs and security fixes needs backport to 3.15 bugs and security fixes labels Nov 12, 2026
@gpshead
gpshead enabled auto-merge (squash) November 12, 2026 00:01
@gpshead
gpshead merged commit f112215 into python:main Nov 12, 2026
38 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Nov 12, 2026
@miss-islington-app

Copy link
Copy Markdown

Thanks @notatallshaw for the PR, and @gpshead for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14, 3.15.
🐍🍒⛏🤖

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 needs backport to 3.14 bugs and security fixes needs backport to 3.15 bugs and security fixes skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants