Skip to content

gh-145024: Improved wording for broken socket for socket.send#145025

Open
brijkapadia wants to merge 1 commit intopython:mainfrom
brijkapadia:socket-send
Open

gh-145024: Improved wording for broken socket for socket.send#145025
brijkapadia wants to merge 1 commit intopython:mainfrom
brijkapadia:socket-send

Conversation

@brijkapadia
Copy link
Copy Markdown
Contributor

@brijkapadia brijkapadia commented Feb 19, 2026

Add to docs for socket.send that it will raise an OSError if trying to send to a broken socket (instead of returning zero bytes as is the case for socket.recv)


📚 Documentation preview 📚: https://cpython-previews--145025.org.readthedocs.build/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant