mirror of
https://github.com/python/cpython.git
synced 2025-07-23 19:25:40 +00:00
Issue #23834: Fix socket.sendto(), use the C Py_ssize_t type to store the
result of sendto() instead of the C int type.
This commit is contained in:
parent
e7c749238e
commit
8e44aa5ae4
2 changed files with 5 additions and 1 deletions
|
@ -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)
|
||||||
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);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue