Commit 3eafc26b authored by Victor Stinner's avatar Victor Stinner

Issue #23834: Fix socket.sendto(), use the C Py_ssize_t type to store the

result of sendto() instead of the C int type.
parent dbed5a22
...@@ -24,6 +24,9 @@ Core and Builtins ...@@ -24,6 +24,9 @@ Core and Builtins
Library 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 #21526: Tkinter now supports new boolean type in Tcl 8.5. - Issue #21526: Tkinter now supports new boolean type in Tcl 8.5.
- Issue #23838: linecache now clears the cache and returns an empty result on - Issue #23838: linecache now clears the cache and returns an empty result on
......
...@@ -3366,7 +3366,8 @@ sock_sendto(PySocketSockObject *s, PyObject *args) ...@@ -3366,7 +3366,8 @@ sock_sendto(PySocketSockObject *s, PyObject *args)
char *buf; char *buf;
Py_ssize_t len, arglen; Py_ssize_t len, arglen;
sock_addr_t addrbuf; sock_addr_t addrbuf;
int addrlen, n = -1, flags, timeout; int addrlen, flags, timeout;
Py_ssize_t n = -1;
flags = 0; flags = 0;
arglen = PyTuple_Size(args); arglen = PyTuple_Size(args);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment