Skip to content

Commit cb52deb

Browse files
committed
Rephrase the Changelog entry
1 parent edaf467 commit cb52deb

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
:meth:`socket.socket.recv` and :meth:`socket.socket.recvfrom` no longer
2-
raise :exc:`ValueError` and lose the datagram when called with
3-
``MSG_TRUNC`` and the datagram is longer than *bufsize*. Only the bytes
4-
actually received are returned now.
1+
Fix :meth:`socket.socket.recv` and :meth:`socket.socket.recvfrom` for the
2+
:data:`!socket.MSG_TRUNC` flag: only receive up to *bufsize* bytes even if the
3+
C function :c:func:`!recv` or :c:func:`!recvfrom` returns more bytes (the real
4+
datagram size).

0 commit comments

Comments
 (0)