Kaydet (Commit) 8e44aa5a authored tarafından 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.
üst e7c74923
......@@ -24,6 +24,9 @@ Core and Builtins
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 #23838: linecache now clears the cache and returns an empty result on
......
......@@ -3366,7 +3366,8 @@ sock_sendto(PySocketSockObject *s, PyObject *args)
char *buf;
Py_ssize_t len, arglen;
sock_addr_t addrbuf;
int addrlen, n = -1, flags, timeout;
int addrlen, flags, timeout;
Py_ssize_t n = -1;
flags = 0;
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