Skip to content

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

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

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

Conversation

@bkap123
Copy link
Contributor

@bkap123 bkap123 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

Comments