]> granicus.if.org Git - python/commitdiff
(Merge 3.4) Issue #23834: Fix socket.sendto(), use the C Py_ssize_t type to
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 2 Apr 2015 15:20:48 +0000 (17:20 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 2 Apr 2015 15:20:48 +0000 (17:20 +0200)
store the result of sendto() instead of the C int type.

(The bug was already fixed in the default branch, but differently.)

1  2 
Misc/NEWS

diff --cc Misc/NEWS
index 19228a9e88fda6ed8d5248fa605c843c82ccd862,66ecff1468460678f880d51e5add77b7c1057064..8ad4454956f6dcd81ddce3651a29a2de4458d0c7
+++ 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.