From: Victor Stinner Date: Thu, 2 Apr 2015 15:20:48 +0000 (+0200) Subject: (Merge 3.4) Issue #23834: Fix socket.sendto(), use the C Py_ssize_t type to X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ea534f79a5cb388d96393f98882d724affdd29b9;p=python (Merge 3.4) Issue #23834: Fix socket.sendto(), use the C Py_ssize_t type to store the result of sendto() instead of the C int type. (The bug was already fixed in the default branch, but differently.) --- ea534f79a5cb388d96393f98882d724affdd29b9 diff --cc Misc/NEWS index 19228a9e88,66ecff1468..8ad4454956 --- a/Misc/NEWS +++ b/Misc/NEWS @@@ -16,17 -16,19 +16,20 @@@ Core and Builtin Library ------- + - Issue #23834: Fix socket.sendto(), use the C Py_ssize_t type to store the + result of sendto() instead of the C int type. + +- Issue #23618: :meth:`socket.socket.connect` now waits until the connection + completes instead of raising :exc:`InterruptedError` if the connection is + interrupted by signals, signal handlers don't raise an exception and the + socket is blocking or has a timeout. :meth:`socket.socket.connect` still + raise :exc:`InterruptedError` for non-blocking sockets. + - Issue #21526: Tkinter now supports new boolean type in Tcl 8.5. +- Issue #23836: Fix the faulthandler module to handle reentrant calls to + its signal handlers. + - Issue #23838: linecache now clears the cache and returns an empty result on MemoryError.